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 @@ -218,6 +218,8 @@ nav {
218218.sidebar-layout {
219219 display : flex;
220220 flex-direction : column;
221+ position : relative;
222+ z-index : 9999 ;
221223}
222224
223225# searchbox {
@@ -1053,12 +1055,16 @@ li .code-block {
10531055 text-transform : uppercase;
10541056 padding : .25rem 0.25rem ; /* Padding for button content */
10551057 font-size : 12px ; /* Font size */
1056- z-index : 9999 ;
1058+ z-index : 999 ;
10571059 position : absolute;
10581060 background-color : white;
10591061 margin : -12px 0 0 1rem ;
10601062}
10611063
1064+ .code-container {
1065+ position : relative;
1066+ }
1067+
10621068.code-container : hover {
10631069 .code-copy-button {
10641070 display : block;
@@ -1075,8 +1081,8 @@ li .code-block {
10751081 color : # 000 ;
10761082 display : none;
10771083 position : absolute;
1078- right : calc (25% + 2rem );
10791084 margin-top : 8px ;
1085+ right : 1rem ;
10801086}
10811087
10821088.code-copy-button : hover {
You can’t perform that action at this time.
0 commit comments