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

Multi-column: Broken collapse indicator positioning #17

Open
zamsyt opened this issue Apr 30, 2024 · 2 comments
Open

Multi-column: Broken collapse indicator positioning #17

zamsyt opened this issue Apr 30, 2024 · 2 comments

Comments

@zamsyt
Copy link
Owner

zamsyt commented Apr 30, 2024

List collapse indicator is in the wrong position in reading view.
image
Introduced by 0dbc9c7

This fix breaks rendering for regular (not in a callout) bullet list's folding triangle in Reading Mode

Screen.Recording.2024-03-19.at.01.24.24.mov

Originally posted by @caglarongan in #6 (comment)

@zamsyt
Copy link
Owner Author

zamsyt commented Apr 30, 2024

Sorry @caglarongan, noticed your comment before but forgot.

I've now looked into it, and seems like this should fix it:

.markdown-rendered .list-collapse-indicator {
  top: 0; }

Can you confirm?

Side note:
Just looking if there are are any side effects, I noticed they're cut off in callouts and embeds, but that doesn't seem to be a problem with the snippet, but with Obsidian itself (seems to happen even without the snippet)
image

@caglarongan
Copy link

Thank you, I can confirm that it works :)
I added it to the end of minimal patch css, which has a different version number than the original. But it works as expected 👍🏻

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