Sidebar select, textarea and input width not working

Support MB Blocks Sidebar select, textarea and input width not workingResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #29399
    Maria O.Maria O.
    Participant

    Hi!

    I don't know if it is my fault or it is because an update but without touching internal code, now inside my custom blocks, in the sidebar, the "select, textarea and input" fields are not working properly. They are like compressed and I can't even see what's inside. Someone happened the same?

    Thanks in advance.

    Maria

    #29410
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thank you for your feedback.

    I've escalated this issue to the development team to fix it in the next update.

    #29416
    JugiburJugibur
    Participant

    Hello,

    that's weird – after updating to the newest version yesterday I found the selection field not compressed but too long. The 100% width is overflowing my sidebar. The edit field has the right width.
    Also the wrapper ".rwmb-input" has the correct width, but the selection input inside is to wide.

    I have noticed that "box-sizing: content-box" is the culprit.
    It comes from

    .edit-post-sidebar *,
    .edit-post-sidebar :after,
    .edit-post-sidebar :before,
    [...]
    {
       box-sizing: inherit
    }

    Have you also observed this behavior?
    I have disabled all custom admin styles.

    Edit: For now I have overwritten .rwmb-select with explicit "box-sizing: border-box"

    Juergen

    #29535
    Maria O.Maria O.
    Participant

    With the last update everything is working perfect. Thanks.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.