MyBB Community Forums

Full Version: The height of [code]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
We are using myBB and it is working great, except for one thing - the "code" BBCode tag.

Some of our team members, which often enclose many lines of source code with the "code" tag, complain that, the current "code" implementation is too shallow a space to view source code seriously - they have to copy and paste to VIM every time.

Is there any way to let it the "code" section to have the 100% height?
Home » Themes » Yourtheme » global.css »

.codeblock
Code Container: Styles the container for the Code and PHP MyCodes.
.codeblock .title
Code Container Title: Styles the title for the Code and PHP MyCode container
.codeblock code
Code: Styles the code in the Code and PHP MyCode containers

And there change what you want for height of listed codeblock attributes in css.
Thank you!

The default is "height: auto;" but there is:
max-height: 200px;

I change it to a bigger number and it works perfectly!

Thousands of thanks.