mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
toolbar menu-toggle to use link
This commit is contained in:
@@ -35,6 +35,7 @@ $toolbar-ios-title-font-size: 1.7rem !default;
|
||||
|
||||
[menu-toggle] {
|
||||
order: map-get($toolbar-order-ios, 'menu-toggle');
|
||||
margin-left: 10px;
|
||||
}
|
||||
|
||||
ion-title {
|
||||
|
||||
@@ -46,15 +46,11 @@ $toolbar-md-button-font-size: 1.4rem !default;
|
||||
min-width: 28px;
|
||||
}
|
||||
|
||||
button[menu-toggle],
|
||||
a[menu-toggle],
|
||||
[menu-toggle].activated {
|
||||
margin: -$toolbar-padding 0 -$toolbar-padding -$toolbar-padding;
|
||||
margin: ($toolbar-padding * -1) 20px ($toolbar-padding * -1) 8px;
|
||||
padding-bottom: $toolbar-padding / 2;
|
||||
height: $toolbar-md-height;
|
||||
}
|
||||
|
||||
[menu-toggle] icon {
|
||||
padding: 0 33px 0 20px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
|
||||
<ion-toolbar>
|
||||
<button menu-toggle>
|
||||
<a menu-toggle>
|
||||
<icon menu></icon>
|
||||
</button>
|
||||
</a>
|
||||
<ion-title>menu-toggle left. This is the title that never ends. It just goes on and on my friend.</ion-title>
|
||||
</ion-toolbar>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user