mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 11:41:20 +08:00
fix(menu-button): get proper styles when used inside ion-buttons
This commit is contained in:
@ -5,6 +5,8 @@
|
||||
|
||||
:host {
|
||||
pointer-events: all;
|
||||
|
||||
color: #{current-color(base)};
|
||||
}
|
||||
|
||||
button {
|
||||
@ -13,6 +15,7 @@ button {
|
||||
@include font-smoothing();
|
||||
|
||||
display: flex;
|
||||
height: 32px;
|
||||
position: relative;
|
||||
|
||||
flex-flow: row nowrap;
|
||||
@ -42,3 +45,9 @@ button {
|
||||
font-kerning: none;
|
||||
appearance: none;
|
||||
}
|
||||
|
||||
ion-icon {
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
Reference in New Issue
Block a user