Skip to content

Commit 654787d

Browse files
doc: gate list is sticky
1 parent 9aeed4e commit 654787d

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/_static/custom.css

+8
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,10 @@ html[data-theme="dark"] .rst-content .highlighted {
187187
display: flex;
188188
flex-wrap: wrap;
189189
margin-block-end: 1em;
190+
position: sticky;
191+
top: 57px;
192+
z-index: 10000;
193+
background-color: #141414;
190194
}
191195

192196
#native-gates-list > * {
@@ -201,3 +205,7 @@ html[data-theme="dark"] .rst-content .highlighted {
201205
html[data-theme="dark"] #native-gates-list > * {
202206
border-color: white;
203207
}
208+
209+
section > * {
210+
scroll-padding-block-start: 60px;
211+
}

0 commit comments

Comments
 (0)