From 21aea59001f4cf100a0c7df0c36aeddd796cee1f Mon Sep 17 00:00:00 2001 From: Yaseen <9275716+ynx0@users.noreply.github.com> Date: Tue, 26 Mar 2024 06:15:25 -0500 Subject: [PATCH] Update code.module.sass to make code title sticky (#13379) --- website/src/styles/code.module.sass | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/src/styles/code.module.sass b/website/src/styles/code.module.sass index b619c71cc..459281b43 100644 --- a/website/src/styles/code.module.sass +++ b/website/src/styles/code.module.sass @@ -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%