mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix navbar css
This commit is contained in:
@ -33,15 +33,15 @@ $navbar-ios-button-background-color: transparent !default;
|
||||
bottom: auto;
|
||||
}
|
||||
|
||||
.navbar-title {
|
||||
.toolbar-title {
|
||||
order: map-get($navbar-order-ios, 'title');
|
||||
}
|
||||
|
||||
.navbar-primary-item {
|
||||
.toolbar-primary-item {
|
||||
order: map-get($navbar-order-ios, 'primary');
|
||||
}
|
||||
|
||||
.navbar-secondary-item {
|
||||
.toolbar-secondary-item {
|
||||
order: map-get($navbar-order-ios, 'secondary');
|
||||
}
|
||||
|
||||
|
@ -4,8 +4,16 @@
|
||||
|
||||
|
||||
ion-navbar {
|
||||
@extend ion-toolbar;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
min-height: 4.4rem;
|
||||
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
order: $flex-order-toolbar-top;
|
||||
|
||||
transform: translate3d(100%, 0px, 0px);
|
||||
&.show-navbar {
|
||||
|
Reference in New Issue
Block a user