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

Browser Issue Template Modification System scroll horizontal too hard

Discussion in 'Resolved Bug Reports' started by Nobita.Kun, Jun 26, 2016.

  1. Nobita.Kun

    Nobita.Kun Well-Known Member

    As the title. Whenever you select some text from box 'Template Contents' then horizontal scroll become too hard.

    Edited: Latest version chrome.
    Beanjam and Xon like this.
  2. Xon

    Xon Well-Known Member

    I think this is due to the text box just being bloody tiny.
  3. Mike

    Mike XenForo Developer Staff Member

    This is actually a Chrome bug which we've reported to them and has been fixed. I'm not sure what milestone will have the fix though. This applies to any scrollable element with border radius.
    Beanjam, Nobita.Kun and Xon like this.
  4. Amaury

    Amaury Well-Known Member

    @Mike: We don't use template modifications, but I'm just curious: Is this the same as this bug which was fixed a while ago?
  5. Mike

    Mike XenForo Developer Staff Member

    Yes. It applies to anything scrollable with a border radius.
    Amaury likes this.
  6. Beanjam

    Beanjam Active Member

    The temporary fix is..

    ACP > Development > Admin Templates > base_template_modification.css

    Change the border-radius to zero in #TemplateContents.

        max-width: 100%;
        border: 1px solid #ccc;
        border-radius: 0; /* workaround for Chrome bug */
        background: #f2f2f2;
        max-height: 250px;
        min-height: 15px;
        overflow: auto;
        white-space: pre;
        word-wrap: normal;
        font-family: Consolas, "Courier New", Courier, monospace;
        direction: ltr;
        padding: 4px;

Share This Page