From 13ba7c1ea5e938719ae91d7528647756d1611a31 Mon Sep 17 00:00:00 2001 From: Martin Artnik Date: Tue, 21 Feb 2023 15:04:58 +0100 Subject: [PATCH] Fix for scoll-to elements being hidden behind sticky navigation [SCI-7937] --- app/assets/stylesheets/my_modules.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/my_modules.scss b/app/assets/stylesheets/my_modules.scss index d7f0e74e6..643a89ef5 100644 --- a/app/assets/stylesheets/my_modules.scss +++ b/app/assets/stylesheets/my_modules.scss @@ -6,6 +6,11 @@ @import "constants"; +// Fix for elements being scrolled to being hidden behind sticky navigation +html { + scroll-padding-top: 128px; +} + .protocol-description-content { margin: 20px 0 20px 10px; }