mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix tab-bar-top
This commit is contained in:
@ -11,5 +11,5 @@ $flex-order-toolbar-top: -10 !default;
|
|||||||
$flex-order-toolbar-bottom: 10 !default;
|
$flex-order-toolbar-bottom: 10 !default;
|
||||||
|
|
||||||
|
|
||||||
$flex-order-tab-bar-top: 30 !default;
|
$flex-order-tab-bar-top: -30 !default;
|
||||||
$flex-order-tab-bar-bottom: 50 !default;
|
$flex-order-tab-bar-bottom: 30 !default;
|
||||||
|
@ -79,6 +79,7 @@ ion-pane {
|
|||||||
.content-container {
|
.content-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
order: $flex-order-view-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
ion-toolbar {
|
ion-toolbar {
|
||||||
@ -91,7 +92,6 @@ ion-content {
|
|||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
order: $flex-order-view-content;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.scroll-content {
|
.scroll-content {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
|
|
||||||
<ion-tabs placement="top">
|
<ion-tabs tab-bar-placement="top">
|
||||||
|
|
||||||
<ion-tab tab-title="Tab 1">
|
<ion-tab tab-title="Tab 1">
|
||||||
<ion-view nav-title="Tab 1">
|
<ion-view nav-title="Tab 1">
|
||||||
|
Reference in New Issue
Block a user