File tree Expand file tree Collapse file tree 2 files changed +18
-14
lines changed
Expand file tree Collapse file tree 2 files changed +18
-14
lines changed Original file line number Diff line number Diff line change 99 --color : #{globals .$tabbar-ionic-color } ;
1010 --color-selected : #{globals .$tabbar-ionic-color-selected } ;
1111
12+ /*
13+ * In case there's scrolling, justify the content to the start.
14+ */
15+ justify-content : unset ;
16+
17+ /*
18+ * Ensure the tab bar does not grow larger than the viewport width.
19+ * Useful for when the tab buttons have large labels, allowing the space
20+ * to be evenly divided among the buttons.
21+ */
22+ max-width : 100% ;
23+
1224 /* *
1325 * Tab bar has a box sizing of content-box to ensure the padding
1426 * is not included in the height. This is important for the
2335
2436 box-shadow : #{globals .$ion-elevation-2 } ;
2537
26- // TODO(ROU-10853): replace this value with a layer token
27- z-index : 10 ;
28-
2938 /*
3039 * In case there are more tab buttons than can fit in the tab bar, enable
3140 * horizontal scrolling.
3241 */
3342 overflow : auto hidden ;
34- justify-content : unset ;
3543
36- /*
37- * Ensure the tab bar does not grow larger than the viewport width.
38- * Useful for when the tab buttons have large labels, allowing the space
39- * to be evenly divided among the buttons.
40- */
41- max-width : 100% ;
44+ // TODO(ROU-10853): replace this value with a layer token
45+ z-index : 10 ;
4246}
4347
4448// Tab Bar Expand
Original file line number Diff line number Diff line change 1212
1313 position : relative ;
1414
15- align-content : center ;
16-
1715 flex : 1 ;
1816
19- min-height : globals .$ion-scale-1200 ;
20- max-height : globals .$ion-scale-1800 ;
17+ align-content : center ;
2118
2219 min-width : globals .$ion-scale-1200 ;
20+
21+ min-height : globals .$ion-scale-1200 ;
22+ max-height : globals .$ion-scale-1800 ;
2323}
2424
2525// Tab Button: Native
You can’t perform that action at this time.
0 commit comments