Jump to content

Question

Posted

The source editor width is restricted to a maximum of 350px

 

 

.ipsApp .ipsField_autocomplete, .ipsApp textarea, .ipsApp input[type="text"], .ipsApp input[type="password"], .ipsApp input[type="datetime"], .ipsApp input[type="datetime-local"], .ipsApp input[type="date"], .ipsApp input[type="month"], .ipsApp input[type="time"], .ipsApp input[type="week"], .ipsApp input[type="number"], .ipsApp input[type="email"], .ipsApp input[type="url"], .ipsApp input[type="search"], .ipsApp input[type="tel"] {
    background-color: #ffffff;
    border-width: 1px;
    border-style: solid;
    border-color: #a6a6a6 #d9d9d9 #d9d9d9 #a6a6a6;
    border-radius: 3px;
    width: 100%;
    max-width: 350px; <- this one is messing things up
    padding: 7px;
}

 

The max-width element is restricting the source edit width. You can override it on the in-line element style of the textarea. It looks like someone was trying to do that, but used width instead of max-width. The following edit should fix the issue:

 

element.style {
    width: 100%; -> max-width: 100%;
    height: 414px;
    resize: none;
    outline: none;
    text-align: left;
    tab-size: 4;
}

 

  • Upvote 1

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...