HanryYu/typora-blubook-theme

uneven space alignment

guesswh0 opened this issue · 8 comments

Source Mode:
Screen Shot 2021-03-01 at 16 01 21

View Mode: (Blubook theme)
Screen Shot 2021-03-01 at 16 02 15

View Mode: (Github theme)
Screen Shot 2021-03-01 at 16 03 16

Thanks for your feedback! Try to change L442 to font-family: inherit;. It might be helpful. Tell me if it works, please.

Thanks to you for quick reply! Well changing font-family didn't solved the issue. Alignment is still with slight slope.

Just type this simple example in Typora Source Mode, alignment of text is done with 'spaces' not 'tabs'. Writing example here will be rendered differently by github.

`a`       123  
`ab`     123  
`abc`   123  

Remove code block after copying to typora

Thanks, it's helpful @guesswh0 . It seems to be caused by the font-size style of the code element:

Details

demo

But I don’t know how to fix the alignment problem while keeping the font unchanged now. @FishionYu

Well, seems like its come from typora`s space and tab inconsistence. Thank you. Love your theme anyway.

Thanks for your kindness.

Hi @guesswh0👋! Fixed this in #46, could have a try for the new css file.