-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Tweak default react-dates styling #1158
Tweak default react-dates styling #1158
Conversation
Can you show a before/after screenshot, particularly on the small breakpoint? |
Sure @ljharb ! |
Hmm - could we use a shorter arrow instead of removing it entirely? |
@ljharb we use a dash (-) sometimes on the site, which is something I considered. Does that seem reasonable? |
The important thing for me is that the date doesn't get cut off. |
Oh sure, i think any visual separator (altho better if it had a direction) is better than nothing. I agree the dates are the priority. |
there’s a Unicode for a triangle pointing right that might fit |
b81f065
to
3d8b054
Compare
I like the simplest option here: PTAL @ljharb |
This is to align the react-dates defaults a bit better with Airbnb's brand. They're pretty subtle tweaks.
I decided to hide the arrow on small inputs because the text was overflowing the area.
to: @garrettberg @ljharb