Extra Lines using SyntaxHighlighter for Chrome Only?

后端 未结 5 1206
悲&欢浪女
悲&欢浪女 2021-02-07 03:38

Extra lines are being inserted when I am using Chrome to look at a draft blog post (on blogger) that uses syntax highlighter e.g.

5条回答
  •  旧时难觅i
    2021-02-07 04:13

    Got the same issue with blogger.com and latest Firefox.
    I found that it happens because of overlapping styles on class .container, so basically you have to rename class to something like .containerSH in SyntaxHighlighter.
    See my commit: change .container -> .containerSH
    Now it works ok for me.

提交回复
热议问题