From bb5a266bff2186ac247599694b198696c007a719 Mon Sep 17 00:00:00 2001 From: Florian Gareis Date: Tue, 17 Jan 2023 15:25:22 +0100 Subject: [PATCH] Make toolbar sticky --- resources/sass/app.scss | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/resources/sass/app.scss b/resources/sass/app.scss index ebcecee..358b2c6 100644 --- a/resources/sass/app.scss +++ b/resources/sass/app.scss @@ -99,6 +99,18 @@ label.label { opacity: 0; } +.menu-bar { + position: sticky; + top: 58px; + z-index: 100; +} + +@screen md { + .menu-bar { + top: 63px; + } +} + .open-sans { font-family: -apple-system, BlinkMacSystemFont, 'Open Sans', 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; } @@ -159,4 +171,4 @@ label.label { @apply mt-4 mb-4; border-top: 2px solid #e6e6e6; } -} \ No newline at end of file +}