-
Notifications
You must be signed in to change notification settings - Fork 34
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
Standardized clear filter button #1934
Standardized clear filter button #1934
Conversation
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.
This looks good, and it does the job.
Only thing I can think of - now that we have full control over how this looks, add a cursor: pointer;
to round out the clickable button-ness of it.
It'd be nice if we could also make sure this shows up in Firefox, but it looks like that would require disabling the browser's pseudo-element and constructing our own instead. That will probably have to be its own issue.
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.
Much more noticeable now on Chrome and Safari. Annoying that it just doesn't show up at all on Firefox, but like Brandon said that could probably become its own separate issue. LGTM!
I just found a solution for Firefox specifically. I will be committing that later today. |
Everything seems to be working now on all three browsers. I'm just gonna be converting some measurement units from 'px' to 'em' for consistency now. |
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.
Filter input now has a consistent clear button across all browsers.
Great work!
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.
Worked in all 3 browsers, LGTM!
I overrode
web-kit
's UI for our clear filter button within obo's dashboard's search input, and everything seems to be standardized across browsers now.Fixes #1930