• 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

Mike

XenForo developer
Staff member
#3
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

Active member
#6
The temporary fix is..

ACP > Development > Admin Templates > base_template_modification.css


Change the border-radius to zero in #TemplateContents.

Code:
#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;
}