mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(menu): do not override --ion-color-base
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: #{ion-color(primary, base)};
|
||||
color: #{ion-color(primary, base)};
|
||||
}
|
||||
|
||||
button {
|
||||
|
@ -4,10 +4,6 @@
|
||||
// MD Menu Button
|
||||
// --------------------------------------------------
|
||||
|
||||
:host {
|
||||
--ion-color-base: currentColor;
|
||||
}
|
||||
|
||||
button {
|
||||
@include padding(0, 8px);
|
||||
}
|
||||
|
@ -6,8 +6,6 @@
|
||||
:host {
|
||||
pointer-events: all;
|
||||
|
||||
color: #{current-color(base)};
|
||||
|
||||
text-align: center;
|
||||
text-decoration: none;
|
||||
text-overflow: ellipsis;
|
||||
|
@ -261,7 +261,7 @@ export class Select {
|
||||
let selectInterface = this.interface;
|
||||
|
||||
if ((selectInterface === 'action-sheet' || selectInterface === 'popover') && this.multiple) {
|
||||
console.warn('Select interface cannot be "' + selectInterface + '" with a multi-value select. Using the "alert" interface instead.');
|
||||
console.warn(`Select interface cannot be "${selectInterface}" with a multi-value select. Using the "alert" interface instead.`);
|
||||
selectInterface = 'alert';
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user