-
Notifications
You must be signed in to change notification settings - Fork 54
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
Jill(feat) use tertiary button for date and navigation button in date picker #2397
Jill(feat) use tertiary button for date and navigation button in date picker #2397
Conversation
1 similar comment
1 similar comment
packages/components/src/DateTimePickers/pickers/DatePicker/DatePicker.scss
Show resolved
Hide resolved
packages/components/src/DateTimePickers/views/DateTimeView/DateTimeView.component.js
Show resolved
Hide resolved
packages/components/src/DateTimePickers/views/DateTimeView/DateTimeView.component.js
Show resolved
Hide resolved
packages/components/src/DateTimePickers/views/HeaderTitle/HeaderTitle.scss
Show resolved
Hide resolved
packages/components/src/DateTimePickers/views/MonthYearView/MonthYearView.component.js
Show resolved
Hide resolved
@@ -6,16 +6,18 @@ | |||
|
|||
.header { | |||
display: flex; | |||
height: 5rem; | |||
height: 2.5rem; |
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.
You should not set a height.
In the header, define the paddings only (as described in the guideline). The height will be set automatically depending on the paddings and the buttons height.
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.
updated, Thanks
What is the problem this PR is trying to solve?
TCCUI-65 http://guidelines.talend.com/document/92132#/ui-controls/date-time-picker-1561102408
What is the chosen solution to this problem?
Use tertiary button for date.
Modify style for Today
Replace the navigation button icon by arrow( from chevron)
Please check if the PR fulfills these requirements
[ ] This PR introduces a breaking change