From b96166f23076c513df2779b9c8da3bfcf1f471e7 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Fri, 13 Oct 2023 12:05:59 +0300 Subject: [PATCH] Use background instead --- assets/styles/layout/_glow.scss | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/assets/styles/layout/_glow.scss b/assets/styles/layout/_glow.scss index 237d24ef6..16da36a47 100644 --- a/assets/styles/layout/_glow.scss +++ b/assets/styles/layout/_glow.scss @@ -1,15 +1,6 @@ .landing, .layout-wrapper { - &:before { - top: 0; - width: 100%; - height: 236px; - content: ""; - display: block; - z-index: 0; - background-image: var(--glow-image); - position: fixed; - background-position: top; - background-repeat: no-repeat; - background-size: contain; - } + background-image: var(--glow-image); + background-position: top center; + background-repeat: no-repeat; + background-size: auto 20rem; } \ No newline at end of file