File tree Expand file tree Collapse file tree 3 files changed +11
-2
lines changed
src/helix-ui/styles/elements Expand file tree Collapse file tree 3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -4,12 +4,13 @@ hx-tab {
44 border : 1px solid transparent ;
55 bottom : -1px ;
66 color : @gray-700 ;
7- display : inline-block ;
7+ display : inline-flex ;
88 flex-shrink : 0 ;
99 font-size : 0.875rem ;
1010 font-weight : 500 ;
1111 padding : 0.5rem 0.75rem ;
1212 position : relative ;
13+ z-index : 0 ;
1314
1415 & :hover {
1516 color : @cyan-500 ;
@@ -18,11 +19,16 @@ hx-tab {
1819
1920 & :active {
2021 color : @cyan-700 ;
22+ z-index : 1 ;
2123 }
2224
2325 & [current] {
2426 background-color : inherit ;
2527 border-color : @gray-300 @gray-300 transparent ;
2628 color : @cyan-900 ;
2729 }
30+
31+ > * + * {
32+ margin-left : 0.25rem ;
33+ }
2834}
Original file line number Diff line number Diff line change @@ -3,6 +3,9 @@ hx-tabcontent {
33 border-color : @gray-300 transparent ;
44 border-style : solid ;
55 border-width : 1px ;
6+ flex-basis : 14rem ; // 224px
7+ flex-shrink : 0 ;
8+ min-height : 14rem ; // 224px
69 overflow : hidden ;
710}
811
Original file line number Diff line number Diff line change 11hx- tablist {
22 background-color : inherit ;
3- display : block ;
3+ display : flex ;
44 padding : 0 0.5rem ;
55}
66
You can’t perform that action at this time.
0 commit comments