1. 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

Discussion in 'Resolved Bug Reports' started by RobParker, Jul 6, 2011.

  1. RobParker

    RobParker Well-Known Member

    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.
     
  2. Onimua

    Onimua Well-Known Member

    I came across this yesterday in Chrome.
     
  3. Kier

    Kier XenForo Developer Staff Member

    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">
     
    Maryam likes this.

Share This Page