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

Fix checkbox vertical position #54

Open
wobbba opened this issue Nov 1, 2022 · 5 comments
Open

Fix checkbox vertical position #54

wobbba opened this issue Nov 1, 2022 · 5 comments

Comments

@wobbba
Copy link

wobbba commented Nov 1, 2022

Checkboxes (- [ ]) are not aligned correctly. I see that there are competing css rules for their vertical-align. A quick fix seems to be to just add more specificity to the overwritten rule, adding .task-list-label to the middle:

.markdown-source-view.mod-cm6 .task-list-label .task-list-item-checkbox {
    vertical-align: baseline;
}
@wiktoriavh
Copy link
Owner

Hi, please create a PR with the fix. Thank you. :)

@kirhgoff
Copy link

kirhgoff commented Sep 7, 2023

Yeah still no PR, will try to create it for that issue, need to learn how to test them first

@kirhgoff
Copy link

kirhgoff commented Sep 7, 2023

Unfortunately that CSS does not work anymore @wobbba, at least I tried to use it as a CSS snippet. Will see if I can figure out the fix, thats a shame this theme is not maintained anymore, such a beautiful theme

@Anon-Exploiter
Copy link

Any fixes for this? :(

@Anon-Exploiter
Copy link

Alrighty, the original comment fix didn't work, I just commented out this within the CSS. Doing this fixes it (maybe):

.markdown-source-view.mod-cm6 .task-list-item-checkbox {
/*	vertical-align: baseline*/
}

Before:
image

After:
image

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

4 participants