mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-09 16:16:41 +08:00
fix(back-button): default md color is inhered
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
// iOS Toolbar Default Button
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) ion-button.button {
|
||||
::slotted(*) ion-button {
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 5px;
|
||||
@ -16,7 +16,7 @@
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
::slotted(*) .button:not(.button-round) {
|
||||
::slotted(*) ion-button:not(.button-round) {
|
||||
--border-radius: #{$toolbar-ios-button-border-radius};
|
||||
}
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
// Material Design Toolbar Default Button
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) ion-button.button {
|
||||
::slotted(*) ion-button {
|
||||
--padding-top: 0;
|
||||
--padding-bottom: 0;
|
||||
--padding-start: 8px;
|
||||
@ -16,7 +16,7 @@
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
::slotted(*) .button:not(.button-round) {
|
||||
::slotted(*) ion-button:not(.button-round) {
|
||||
--border-radius: #{$toolbar-md-button-border-radius};
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
// Toolbar Buttons
|
||||
// --------------------------------------------------
|
||||
|
||||
::slotted(*) .button {
|
||||
::slotted(*) ion-button {
|
||||
--margin-top: 0;
|
||||
--margin-bottom: 0;
|
||||
--margin-start: 0;
|
||||
|
||||
Reference in New Issue
Block a user