Closed hmnd closed 1 year ago
@hmnd got a REPL of what this is solving? Not sure I'm following the problem. Also the PR breaks multiple
mode. Thanks
@rob-balfre sorry, I've fixed the issue with multiple
. I've made this REPL that should demonstrate the issue. Note how the placeholder in the original version is cut off, and if you type a long search keyword, it'll get cut off at the same spot.
This issue doesn't affect multiple
mode because the input gets position: relative
, but otherwise the input has position: absolute
which causes it to shrink and lose vertical centering.
I'm not seeing any issues with the original. Are you seeing something different?
@rob-balfre Huh, interesting... seems that Chromium's default behavior is 100% width, whereas Firefox limits the width
This is what I'm seeing on Firefox:
@hmnd yeah nice find, I wonder if that's how CSS should work or a Firefox bug!
Setting the width and height of the input to 100% seems to do the trick :)