bulma icon indicating copy to clipboard operation
bulma copied to clipboard

Input in Dropdown overflows width, needs 90% max-width

Open Merovex opened this issue 4 years ago • 3 comments

This is about Bulma. Form fields overflow the width of a dropdown-menu, causing it to overhang. My fix was to add max-width: 90% to input.

Overview of the problem

I downloaded on 31 December for a new project. The problem manifests on Chromium-driven browsers (Chrome).

Steps to Reproduce

<div class="dropdown-item">
      <form action="/groups/1" accept-charset="UTF-8" method="post">
        <div class="field">
          <input class="input" type="text" value="Fred Savage" name="group[name]" id="group_name">
        </div>
        <input type="submit" name="commit" value="Rename" class="button is-small">
    </form>
</div>

Actual behavior

Untitled

With max-width:90%

Screen Shot 2021-01-01 at 5 16 09 AM

Merovex avatar Jan 01 '21 10:01 Merovex

I figured that by adding * { box-sizing: inherit; } the input will work as expected.

dorinoltean avatar Apr 30 '21 07:04 dorinoltean

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 19 '22 00:04 stale[bot]

I like that this was marked stale because the developer chose not to respond. I've moved on.

Merovex avatar Apr 19 '22 09:04 Merovex