Skip to content

Commit d9801fe

Browse files
committed
fix: Product selector not being on top of everything
1 parent f5ea6ef commit d9801fe

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

assets/css/v2/style.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,8 @@ nav {
216216
.sidebar-layout {
217217
display: flex;
218218
flex-direction: column;
219+
position: relative;
220+
z-index: 9999;
219221
}
220222

221223
#searchbox {
@@ -1051,7 +1053,7 @@ li .code-block {
10511053
text-transform: uppercase;
10521054
padding: .25rem 0.25rem; /* Padding for button content */
10531055
font-size: 12px; /* Font size */
1054-
z-index: 9999;
1056+
z-index: 999;
10551057
position: absolute;
10561058
background-color: white;
10571059
margin: -12px 0 0 1rem;
@@ -1073,8 +1075,8 @@ li .code-block {
10731075
color: #000;
10741076
display: none;
10751077
position: absolute;
1076-
right: calc(25% + 2rem);
10771078
margin-top: 8px;
1079+
right: 1rem;
10781080
}
10791081

10801082
.code-copy-button:hover {

0 commit comments

Comments
 (0)