pashashocky / obsidian-note-gallery

A masonry note gallery for obsidian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note background blackens after inserting a note gallery

ProudBenzene opened this issue · comments

Hello dear developer, your plugin saved me when I was lost for the need of centralized embedding to show some notes. Especially its waterfall style is really amazing.

But at the same time I found a problem that after inserting a note gallery in a note, the background of the note will turn black ...... like the following:

Before insertion:

iShot_2024-04-11_20 24 13

After insertion:

iShot_2024-04-11_20 23 47

I wonder if this is some kind of CSS conflict? I hope you can tell me how to remove this background effect.

Finally, I would like to thank you again for developing such a WONDERFUL plugin and for your selflessness!

I have found the, which is located in the style.css file of the plugin:

.view-content:has(div):has(.block-language-note-gallery) {
  background-color: var(--background-secondary) !important;
}

I have the background color of the page is back to normal.