Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved Increasing height of formatted [code][/code] block
#1
Not Solved
Hello,
my myBB version: 1.6.10
Problem: the preformatted code blocks
display only 10 lines of data with a vertical scrollbar.
The same is the case while using a plugin i installed for syntax highlighting (Coolcodes downloaded from here)
Screenshot: http://puu.sh/4E2Qt/5fc777105d.png

What I need is that these blocks should display all the codes inside them without the need to scroll. I couldn't find any such option in the admin control panel. Is there an easy solution for this?
#2
Not Solved
global.css has this rule:

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

You can edit this CSS in the ACP and change the max-height value from 200px to something higher.
MyReactions - All Plugins

Can you still feel the butterflies?

Free never tasted like pudding.
#3
Not Solved
(2013-09-30, 01:20 PM)Matt. Wrote: global.css has this rule:

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

You can edit this CSS in the ACP and change the max-height value from 200px to something higher.

Mindblowing speed of reply. Impressed.
Will try it now, Thank you for your help!


Forum Jump:


Users browsing this thread: 1 Guest(s)