@@ -502,7 +502,6 @@ atomic-search-layout atomic-layout-section[section="search"] {
502
502
background-color : white;
503
503
border : black 1px solid;
504
504
box-shadow : 3px 3px 0px var (--color-shadow );
505
- z-index : 9999 ;
506
505
}
507
506
508
507
.product-selector p {
@@ -906,16 +905,33 @@ blockquote.side-callout {
906
905
}
907
906
908
907
/* Tabs */
909
-
910
908
.tabs-container {
911
- position : relative;
912
- z-index : -1 ;
913
- border-bottom : 1px solid black;
909
+ /* border-bottom: 1px solid black; */
914
910
white-space : nowrap;
915
911
916
912
/* Lines extend 1rem into gutter on both sides */
917
913
width : calc (100% + 2rem );
918
914
margin-left : -1rem ;
915
+
916
+ display : flex;
917
+ flex-direction : row;
918
+ align-items : end;
919
+
920
+ * {
921
+ flex-grow : 0 ;
922
+ }
923
+
924
+ & > : last-child {
925
+ /* Extend the last child */
926
+ flex-grow : 1 ;
927
+ }
928
+ }
929
+
930
+ .tabs-line {
931
+ display : block;
932
+ background-color : white;
933
+ border-bottom : 1px solid black;
934
+ width : 2rem ;
919
935
}
920
936
921
937
.nav-tabs {
@@ -927,7 +943,7 @@ blockquote.side-callout {
927
943
list-style : none;
928
944
display : flex;
929
945
justify-content : start;
930
- margin : 0 1 rem ;
946
+ margin : 0 ;
931
947
padding : 0 ;
932
948
933
949
> : not (: last-child ) {
@@ -937,9 +953,8 @@ blockquote.side-callout {
937
953
938
954
.nav-item {
939
955
border : 1px solid var (--color-tabs-divider );
940
- border-bottom : none ;
956
+ border-bottom : 1 px solid black ;
941
957
padding : 10px ;
942
- position : relative;
943
958
944
959
a {
945
960
text-decoration : none;
@@ -954,22 +969,12 @@ blockquote.side-callout {
954
969
/* Change the border colors of li that is has a child with a class "active" */
955
970
border-top : 1px solid black;
956
971
border-left : 1px solid black;
972
+ border-bottom : none;
957
973
958
974
/* Change the border of next child */
959
975
+ li {
960
976
border-left : 1px solid black;
961
977
}
962
-
963
- & ::after {
964
- content : "" ;
965
- position : absolute;
966
- display : block;
967
- border-bottom : 1px solid white;
968
- bottom : 0 ;
969
- left : 0 ;
970
- width : 100% ;
971
- z-index : 9999 ;
972
- }
973
978
}
974
979
975
980
.nav-item : last-child : has (.active ) {
@@ -978,7 +983,8 @@ blockquote.side-callout {
978
983
}
979
984
980
985
.tab-content {
981
- position : relative;
986
+ border-bottom : 1px solid black;
987
+ margin-left : calc (-1 * var (--overflow-gutter-extension ));
982
988
983
989
.tab-pane {
984
990
display : none;
@@ -992,16 +998,6 @@ blockquote.side-callout {
992
998
}
993
999
}
994
1000
995
- .tab-content ::after {
996
- /* Bottom Horizontal Line for Tabs */
997
- content : "" ;
998
- position : absolute;
999
- border-bottom : 1px solid black;
1000
- left : calc (-1 * var (--overflow-gutter-extension ));
1001
- bottom : 0 ;
1002
- width : calc (100% + (2 * var (--overflow-gutter-extension )));
1003
- }
1004
-
1005
1001
/* Codeblocks */
1006
1002
.highlight {
1007
1003
padding : 0 1rem 0 1rem ;
@@ -1014,11 +1010,8 @@ blockquote.side-callout {
1014
1010
}
1015
1011
}
1016
1012
1017
- .code-container {
1018
- grid-column : 1 ;
1019
- display : flex;
1020
- flex-direction : row;
1021
- position : relative;
1013
+ .code-block {
1014
+ position : static;
1022
1015
}
1023
1016
1024
1017
.code-block .code-header : not (: has (.code-type )) {
@@ -1036,13 +1029,13 @@ li .code-block {
1036
1029
border-bottom : 1px solid # cccccc ;
1037
1030
overflow-x : scroll;
1038
1031
scrollbar-width : none;
1039
- width : calc (100% + var (--overflow-gutter-extension ));
1040
1032
}
1041
1033
1042
1034
.highlight-v2 .single-line {
1043
1035
display : flex;
1044
1036
align-items : center;
1045
1037
border : 1px solid # cccccc ;
1038
+ overflow-x : scroll;
1046
1039
}
1047
1040
1048
1041
.code-header {
@@ -1078,13 +1071,9 @@ li .code-block {
1078
1071
font-family : "JetBrains Mono" , monospace;
1079
1072
font-size : 12px ;
1080
1073
color : # 000 ;
1081
- order : 2 ;
1082
1074
display : none;
1083
- }
1084
-
1085
- .code-copy-button {
1086
1075
position : absolute;
1087
- right : 8 px ;
1076
+ right : calc ( 25 % + 2 rem ) ;
1088
1077
margin-top : 8px ;
1089
1078
}
1090
1079
0 commit comments