File tree 1 file changed +8
-2
lines changed 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -218,6 +218,8 @@ nav {
218
218
.sidebar-layout {
219
219
display : flex;
220
220
flex-direction : column;
221
+ position : relative;
222
+ z-index : 9999 ;
221
223
}
222
224
223
225
# searchbox {
@@ -1053,12 +1055,16 @@ li .code-block {
1053
1055
text-transform : uppercase;
1054
1056
padding : .25rem 0.25rem ; /* Padding for button content */
1055
1057
font-size : 12px ; /* Font size */
1056
- z-index : 9999 ;
1058
+ z-index : 999 ;
1057
1059
position : absolute;
1058
1060
background-color : white;
1059
1061
margin : -12px 0 0 1rem ;
1060
1062
}
1061
1063
1064
+ .code-container {
1065
+ position : relative;
1066
+ }
1067
+
1062
1068
.code-container : hover {
1063
1069
.code-copy-button {
1064
1070
display : block;
@@ -1075,8 +1081,8 @@ li .code-block {
1075
1081
color : # 000 ;
1076
1082
display : none;
1077
1083
position : absolute;
1078
- right : calc (25% + 2rem );
1079
1084
margin-top : 8px ;
1085
+ right : 1rem ;
1080
1086
}
1081
1087
1082
1088
.code-copy-button : hover {
You can’t perform that action at this time.
0 commit comments