• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed  Insert code overlay bug

RobParker

Well-known member
#1
I just noticed the following and not seen it mentioned previously.

If you click the "insert code" button it pops up an overlay where you can drag the corner to expand. It expands the text input area but the overlay doesn't resize which means you can lose the text, insert buttons, etc as they disappear outside the bounds of the overlay.

This is what happens when I drag the corner to expand the input box:

Screen shot 2011-07-06 at 08.40.50.png

This is in Firefox 5 on OSX.
 

Kier

XenForo Developer
Staff member
#3
This is a relatively easy fix:

in the editor_dialog_code template, find <textarea name="code" and add resize: none to its style rules.
HTML:
<textarea name="code" id="ctrl_code" class="textCtrl code"
	style="display: block; width: 98%; height: 100px; resize: none">