From 938bf5b65c83912330e2e494397a887315d148f9 Mon Sep 17 00:00:00 2001 From: "fanky.eu" <jakub.webisti@gmail.com> Date: Mon, 17 May 2021 12:21:44 +0200 Subject: [PATCH] side panel on tablet not to overlap content --- source/css/organisms/side-cta-panel.pcss | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/css/organisms/side-cta-panel.pcss b/source/css/organisms/side-cta-panel.pcss index d8c247b..762cd6f 100644 --- a/source/css/organisms/side-cta-panel.pcss +++ b/source/css/organisms/side-cta-panel.pcss @@ -122,6 +122,13 @@ /*on desktop sticky in relative div */ @media only screen and (min-width: 621px){ @apply h-full absolute right-0; + + .side-cta-panel-bar { + position: fixed; + right: -48px; + } + } + @media only screen and (min-width: 1300px){ .side-cta-panel-bar { position: sticky; } -- GitLab