Spectrum icon indicating copy to clipboard operation
Spectrum copied to clipboard

Fix checkbox vertical position

Open end-ichi opened this issue 3 years ago • 5 comments

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;
}

end-ichi avatar Nov 01 '22 10:11 end-ichi

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

wiktoriavh avatar Nov 03 '22 08:11 wiktoriavh

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

kirhgoff avatar Sep 07 '23 04:09 kirhgoff

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

kirhgoff avatar Sep 07 '23 04:09 kirhgoff

Any fixes for this? :(

Anon-Exploiter avatar May 31 '24 09:05 Anon-Exploiter

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

Anon-Exploiter avatar May 31 '24 09:05 Anon-Exploiter