MyBB Community Forums

Full Version: size php code block
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
I'n new to myBB and encountered the following "issue". I want the php block to be bigger (no scrolling!), how can i do that?

http://www.cs193p.nl/showthread.php?tid=7

Its a board about ios coding. I need the php block to be bigger. Maybe i can have an "Xcode block Smile"??

Thx!
Pic.
In your global.css remove (or replace with bigger value in px / %) max-height: 200px; from .codeblock code (admincp -> templates and styles -> themes -> <your current theme> -> global.css ).
In global.css find: .codeblock{ Add code below here }

Add this between brackets: overflow: auto;

(2013-03-19, 07:21 PM)Johnny S Wrote: [ -> ]In your global.css remove (or replace with bigger value in px / %) max-height: 200px; from .codeblock code (admincp -> templates and styles -> themes -> <your current theme> -> global.css ).

Thats setting a default value, not all code is gonna be the same height. Use the overflow auto code that I posted above.
thx, solved.