Skip to content

The clear button for input collapse when the input has a small width #2414

Open
@BHznJNs

Description

@BHznJNs

Describe the bug

When a the sl-input has a small width, e.g. 8rem, the clear button of the input has a smaller width than usual.

To Reproduce

<sl-input clearable value="1234"></sl-input>
sl-input {
  max-width: 8rem
}

Demo

https://codepen.io/fsujvjic-the-reactor/pen/GgRYzXe

Browser / OS

  • OS: Windows
  • Browser: Firefox
  • Browser version: 136.0.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThings that aren't working right in the library.fixed-in-waThis issue has been fixed or isn't relevant to Web Awesome.good first issueThis bug or task is a good first issue for new contributors.help wantedReady for a contributor to tackle.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions