From 97abeba27ff49f81e88f95662ccc80730a307917 Mon Sep 17 00:00:00 2001 From: MTG2000 Date: Thu, 1 Sep 2022 12:07:12 +0300 Subject: [PATCH] style: add sticky-top class --- src/styles/shared.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/styles/shared.scss b/src/styles/shared.scss index 6441768..6a03db4 100644 --- a/src/styles/shared.scss +++ b/src/styles/shared.scss @@ -19,3 +19,8 @@ button[disabled] { top: calc(var(--navHeight) + 16px); max-height: calc(100vh - var(--navHeight) - 16px); } + +.sticky-top-element { + position: sticky; + top: calc(var(--navHeight)); +}