From 945157c8c5d35c5fa7546cb59119ce022195f8e6 Mon Sep 17 00:00:00 2001 From: Pavel Laptev Date: Fri, 12 Jan 2024 01:58:26 +0100 Subject: [PATCH] - styles updated --- .../lib/components/DecorativeSplitView.svelte | 23 ++++++++----------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/gitbutler-ui/src/lib/components/DecorativeSplitView.svelte b/gitbutler-ui/src/lib/components/DecorativeSplitView.svelte index 7867a5232..a8e6c5c1f 100644 --- a/gitbutler-ui/src/lib/components/DecorativeSplitView.svelte +++ b/gitbutler-ui/src/lib/components/DecorativeSplitView.svelte @@ -102,6 +102,7 @@ } .right-side-wrapper { + position: relative; overflow: hidden; --splitview-back-color: var(--clr-core-pop-75); display: flex; @@ -112,6 +113,10 @@ } .right-side__header { + position: absolute; + top: 0; + left: 0; + width: 100%; display: flex; align-items: center; justify-content: flex-end; @@ -119,6 +124,10 @@ } .right-side__footer { + position: absolute; + bottom: 0; + left: 0; + width: 100%; display: flex; align-items: flex-end; justify-content: space-between; @@ -165,23 +174,9 @@ justify-content: center; } - .right-side__img_dark { - display: none; - } - /* global */ :global(.dark .decorative-split-view .right-side-wrapper) { --splitview-back-color: var(--clr-core-pop-25); } - - :global(.dark .decorative-split-view) { - & .right-side__img_dark { - display: block; - } - - & .right-side__img_light { - display: none; - } - }