Skip to content

Commit

Permalink
Update code.module.sass to make code title sticky (#13379)
Browse files Browse the repository at this point in the history
  • Loading branch information
ynx0 committed Mar 26, 2024
1 parent 4dc5fe5 commit 21aea59
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/src/styles/code.module.sass
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.25)
background: var(--color-dark)
margin: 1.5rem 0 0 2rem
position: sticky
left: 2rem

.header
width: 100%
Expand Down

0 comments on commit 21aea59

Please sign in to comment.