Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted space above the banner #38

Open
thomasvs opened this issue Feb 17, 2022 · 4 comments
Open

Unwanted space above the banner #38

thomasvs opened this issue Feb 17, 2022 · 4 comments
Labels
plugin compatibility Compatibility for other plugins

Comments

@thomasvs
Copy link

Hi,

neat plug-in, thanks!

I'm trying to figure out why there's space above my banners, and an expander handle that I'd like to get rid of.

I think the expander handle goes away by choosing the embed style, is that right?

I can't get rid of the extra size, and I narrowed it down to one css rule, but I don't know why it's happening or how I can fix it.

Attaching screenshots of the one css rule enabled/disabled if that helps.
Screenshot from 2022-02-17 17-09-14
Screenshot from 2022-02-17 17-09-21

@noatpad
Copy link
Owner

noatpad commented Mar 4, 2022

Huh, is the theme perhaps?
That one CSS rule is actually intended to be there, but the child with the class name obsidian-banner should have a position; absolute; rule among others that sets the banner in place. Just to make sure, which theme/plugins are you using?

@lepperm
Copy link

lepperm commented Mar 9, 2022

@thomasvs It looks like this might be coming from the Copy button for code blocks plugin. I noticed this in my vault as well, and disabling the copy button fixed my issues.

@joethei
Copy link

joethei commented Mar 9, 2022

Just found this out to, that plugin adds it's a bit of css.
This issue jdbrice/obsidian-code-block-copy#17 has a workaround

@noatpad
Copy link
Owner

noatpad commented Apr 14, 2022

Yeah this looks like that's one of those plugin compatibility issues. The workaround mentioned should work fine for now since I'm considering doing some changes to fix those conflicts

@noatpad noatpad added the plugin compatibility Compatibility for other plugins label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
plugin compatibility Compatibility for other plugins
Projects
None yet
Development

No branches or pull requests

4 participants