MyBB Community Forums
Remove Code Scrollbar - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Remove Code Scrollbar (/thread-167063.html)



Remove Code Scrollbar - LegendWill - 2015-02-14

Hi, how can I remove the scrollbar on the code format when making a post so the the text that you can see expands all the way down so you don't need a scrollbar.
Like, I want to be able to see all the text without having to scroll down.
[Image: kfuhvH3.gif]


RE: Remove Code Scrollbar - ThemeFreaknet - 2015-02-14

In global.css find:

.codeblock code {
    overflow: auto;
    height: auto;
    max-height: 200px;
    display: block;
    font-family: Monaco,Consolas,Courier,monospace;
    font-size: 13px;
}

remove:

max-height: 200px;



RE: Remove Code Scrollbar - LegendWill - 2015-02-14

Thank you so much, Big Grin


RE: Remove Code Scrollbar - Ronshaan - 2015-02-16

thank you so much