-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Improve spacing on search form field #2358
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…eates too much whitespace.
.input-form button.input-form button
Ah, hmm, ok let me try keeping the 40px width, but a different tweak. |
|
I have created an alternative PR #2365 - @adamghill can you test and see what you think? |
I replied! I think moving to flexbox is probably the better approach. But, if we don't want to do that I just pushed a change to this branch if you want to check it out. @sarahboyce |
.input-form button|
Tested and this looks great! It's also a much smaller change so I like it 😁 |
sarahboyce
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can make a non-draft and I can request a review from the website WG 😁
|
I've tested it locally and the spacing does look better. Thanks everyone! |


Currently, there are two spacing issues I see in Vivaldi/Chrome around the searchbar in the top nav. Not sure if this is viewport width thing or a browser thing, though.
This is what it looks like Firefox for me:
button.Removing the explicit
width: 40pxtakes away some of the whitespace around the magnifying button and makes the spacing look a little better to my eyes. When I search the repo for otherform-inputclasses, I didn't see anywhere else that uses abuttonelement inside theform, so I don't think this would affect anything else.This is what it looks like in Vivaldi with that change:
And this is in Firefox:
Tagging @sarahboyce since she might know the most about the search bar because of #2262.