-
Notifications
You must be signed in to change notification settings - Fork 13.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
feat(select-modal): add ionic theme styling #30007
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
:host(.ion-focused) .item-native { | ||
// This prevents the focus ring from clipping. | ||
overflow: visible; | ||
} |
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.
No longer needed and it was interfering with the focus ring.
--border-width: #{globals.$ion-border-size-0 globals.$ion-border-size-0 globals.$ion-border-size-025 | ||
globals.$ion-border-size-0}; | ||
} | ||
|
||
:host(.item-lines-inset) { | ||
--inner-border-width: #{globals.$ion-border-size-0} #{globals.$ion-border-size-0} #{globals.$ion-border-size-025} #{globals.$ion-border-size-0}; | ||
--inner-border-width: #{globals.$ion-border-size-0 globals.$ion-border-size-0 globals.$ion-border-size-025 | ||
globals.$ion-border-size-0}; |
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.
Just moved the variables to use only one #{}
.label-text-wrapper { | ||
text-overflow: ellipsis; | ||
|
||
white-space: nowrap; | ||
|
||
overflow: hidden; | ||
} |
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 that the select options weren't truncating with ellipsis. Moved this to common since every theme behaves the same.
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 believe the radios should be hidden for single-select (like we do for MD theme)
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.
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.
LGTM!
Issue number: internal
What is the current behavior?
ion-select-modal
does not have styles forionic
theme.What is the new behavior?
ionic
themeNo changes were made to the other interfaces. Those will continue to follow the current styles.
Does this introduce a breaking change?
Other information
Preview