-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
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
Update TimePicker am/pm buttons #2757
Conversation
(aim to fix #2323) |
@netoctone That looks good 👍 |
position: 'relative', | ||
lineHeight: '17px', | ||
height: 17, | ||
fontSize: '17px', |
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.
fontSize: 17,
is enough.
{min} | ||
</span> | ||
<div style={this.prepareStyles(styles.text)}> | ||
<div style={this.prepareStyles(styles.affix)} /> |
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.
switched from invisible text to flexbox
looks a bit cleaner
will check on IE/Safari later
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 have tested it on Safari, latest version.
That's better like this.
For IE, I let you test it.
Otherwise, I'm ok to merge this PR 👍 .
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.
works good in IE 10, 11
[TimePicker] improve am/pm buttons
@netoctone Thanks! |
Hello,
Here's second part of TimePicker update #2358
Let me know if we need ripple effect on "am"/"pm" switches and/or on "hour"/"minute" mode switches.