taikii / whiteplain

Simple and Functional Hugo theme.
https://themes.gohugo.io/whiteplain/
MIT License
132 stars 44 forks source link

The first line of code misaligned #15

Closed fu-sen closed 6 years ago

fu-sen commented 6 years ago

Please take a closer look at this: 2018-10-20 19 46 52

Only the first line of code is misaligned. Of course this happens even at the demo site.

It is caused by dual application because it uses the same CSS for pre and code. I am avoiding the problem with this custom.css:

code { padding-left: 0; padding-right: 0; }

taikii commented 6 years ago

@fu-sen Thank you for your report! I fixed this problem as 194147f.