From 5eef8f483650bea6f3a7c407a0d5735365b8621a Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Tue, 15 Aug 2023 13:31:01 +0100 Subject: [PATCH] Move sticky correspondence headers down for admin. --- app/assets/stylesheets/responsive/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/assets/stylesheets/responsive/custom.scss b/app/assets/stylesheets/responsive/custom.scss index 7c9c53db..d9bb033c 100644 --- a/app/assets/stylesheets/responsive/custom.scss +++ b/app/assets/stylesheets/responsive/custom.scss @@ -868,6 +868,11 @@ div.correspondence { border-top: 8px solid $outgoing-correspondence-color; } + /* If admin banner shown at the top, it overlaps body content, so move the sticky down */ + .admin + .entirebody & { + top: 41px; + } + /* This is so you can't see the text box under the rounded corners of the * sticky header. Can all be removed if you don't have rounded corners. */ &::before, &::after {