-
Notifications
You must be signed in to change notification settings - Fork 13.4k
refactor(datetime): update ionic styles for footer buttons #30014
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
|
||
| ::slotted(*) .button-clear { | ||
| --color: globals.$ion-primitives-neutral-1200; | ||
| --color: #{globals.$ion-primitives-neutral-1200}; |
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.
Noticed this while updating the styles.
| :host .datetime-action-buttons ion-buttons { | ||
| display: flex; | ||
|
|
||
| justify-content: space-between; | ||
| } | ||
|
|
||
| /** | ||
| * The confirm and clear buttons are grouped in a | ||
| * container so that they appear on the end opposite | ||
| * of the cancel button. | ||
| * We use display: flex so that the | ||
| * wrapper only takes up as much | ||
| * height as it needs. | ||
| */ | ||
| .datetime-action-buttons .datetime-action-buttons-container { | ||
| display: flex; | ||
| } |
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.
These only apply to the native styles.
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.
Looks good besides the missing gap!
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.
Looks good! 👍
Issue number: internal
What is the current behavior?
The footer buttons (confirm, clear, and cancel) do not match the ionic theme styles.
What is the new behavior?
ionic.ionic.Does this introduce a breaking change?
Other information
Preview