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

[Bug] Doesn't play well with long titles #129

Open
Aeases opened this issue Oct 1, 2023 · 3 comments
Open

[Bug] Doesn't play well with long titles #129

Aeases opened this issue Oct 1, 2023 · 3 comments

Comments

@Aeases
Copy link

Aeases commented Oct 1, 2023

v2.0.3 beta

image

@noatpad
Copy link
Owner

noatpad commented Oct 4, 2023

Hm, so the issue there is that the header holds position: absolute. And while I could remove it in the scenario where a note only has a header, the same problem will happen if it's a banner + header in a note.

I'm currently looking into an alternative way to place the banner (and thus, the header) into the view, which could allow more flexibility for those elements and compatibility with other plugins, including properly resizing the header

@Aeases
Copy link
Author

Aeases commented Oct 5, 2023

Resizing would be great! I've got some banners e.g. like the one below where part of the content doesnt fit into the view depending on the size of the "leaflet" (i think thats the term obsidian uses?)

output

@noatpad
Copy link
Owner

noatpad commented Oct 14, 2023

(Oh whoops, I could've sworn I replied to this when I saw this message)

Leaf is the correct term, yes, and if by "part of the content", you mean the image being overflowed horizontally instead of vertically, that is intended! There have been some requests on how these cases should be managed, but I haven't quite figured figured out what would work best there.

Also the https://github.com/noatpad/obsidian-banners/releases/tag/2.0.4-beta release should now fix the issue with long headers now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants