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