当前位置:网站首页>Syntaxhighlight highlights the right scroll bar

Syntaxhighlight highlights the right scroll bar

2022-07-07 15:47:00 Programmer community


SyntaxHighlighter Has become the mainstream , But on display , Although all the findings have been shown , But there is still a scroll bar on the right , This doesn't affect the function, but it looks uncomfortable .
Referenced when used CSS File is shCoreDefault.css , Solve this problem by modifying the file .
find

.syntaxhighlighter table {  width: 100% !important;}

It is amended as follows :

.syntaxhighlighter table {  width: 100% !important;  margin: 1px 0 !important;}

The display result depends on the display of the article code .

I recommend you to read more about “ SyntaxHighlighter Code highlighting Scroll bar css style ” The article

原网站

版权声明
本文为[Programmer community]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202130610192385.html

随机推荐