From 247bc719b8a278373eb752a686c586eb3a810700 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Losada=20Hern=C3=A1ndez?= Date: Wed, 4 Sep 2024 22:52:57 +0200 Subject: [PATCH] fix z-index issue --- client/homebrew/pages/vaultPage/vaultPage.less | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/client/homebrew/pages/vaultPage/vaultPage.less b/client/homebrew/pages/vaultPage/vaultPage.less index 921fa7c08..49b988ee4 100644 --- a/client/homebrew/pages/vaultPage/vaultPage.less +++ b/client/homebrew/pages/vaultPage/vaultPage.less @@ -245,7 +245,16 @@ body { width : 47%; margin-right : 40px; color : black; - background-image : url('/assets/parchmentBackground.jpg'); + isolation:isolate; + + &:after { + position:absolute; + inset:0; + display:block; + content:''; + background-image : url('/assets/parchmentBackground.jpg'); + z-index:-1; + } &:nth-child(even of .brewItem) { margin-right : 0; } @@ -256,11 +265,6 @@ body { line-height : 0.988em; color : var(--HB_Color_HeaderText); } - - .text { - position:relative; - z-index:2; - } .info { font-family : 'ScalySansRemake'; font-size : 1.2em;