Skip to content

Commit 21aea59

Browse files
authored
Update code.module.sass to make code title sticky (#13379)
1 parent 4dc5fe5 commit 21aea59

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

website/src/styles/code.module.sass

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@
109109
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25)
110110
background: var(--color-dark)
111111
margin: 1.5rem 0 0 2rem
112+
position: sticky
113+
left: 2rem
112114

113115
.header
114116
width: 100%

0 commit comments

Comments
 (0)