-
Notifications
You must be signed in to change notification settings - Fork 134
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
Align the calendar and date wherever used #958
Comments
Could you assign me for the fix.. would love to work on it |
@thiyagarajan17 , this is already assigned to a member of our team. |
@thiyagarajan17 , we couldn't yet pick this issue up after all. We're happy to have you do it if you want, and we're here to help. |
Hi team, Could this perhaps be done in the Label file by modifying the following: const useHoverInfoLabelStyles = makeStyles({
display: {
- display: 'inline-block',
+ display: 'flex',
+ alignItems: 'center',
+ justifyContent: 'flex-end'
},
noWrap: {
whiteSpace: 'nowrap',
},
icon: {
marginRight: '0.2rem',
marginLeft: '0.2rem',
},
}); Is also possible to use a child or possibly a sibling selector while keeping the inline-block as in: const useHoverInfoLabelStyles = makeStyles({
display: {
display: 'inline-block',
+ "& svg": {
+ verticalAlign: 'middle'
+ },
},
noWrap: {
whiteSpace: 'nowrap',
},
icon: {
marginRight: '0.2rem',
marginLeft: '0.2rem',
},
}); Please let me know any feedback or other workaround suggestion or for this. Thanks, Happy Friday :) |
If you go to a timestamp that uses the date and calendar option to show a date you will see that the date and calendar are not properly aligned
The date and calendar should be correctly center aligned.
The text was updated successfully, but these errors were encountered: