From dbbb807edf50c33efa9d69f3a3825b55f484ae17 Mon Sep 17 00:00:00 2001 From: heisenburger Date: Fri, 19 Jan 2024 16:22:06 +0100 Subject: [PATCH] fix css var bug --- _sass/_layout.scss | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/_sass/_layout.scss b/_sass/_layout.scss index 3f5eb4c..d306ece 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -221,7 +221,12 @@ header .box { .framed { --placement: 0; --corner: 8px; - --img: url("../images/corner.svg"); + // --img: url("../images/corner.svg"); + // &.crosshair { + // --placement: -8px; + // --corner: 16px; + // --img: url("../images/crosshair.svg"); + // } display: none; @include query($bp-xlg){ display: initial; @@ -238,7 +243,7 @@ header .box { position: absolute; height: var(--corner); width: var(--corner); - background-image: var(--img); + background-image: url("../images/corner.svg"); } .NW { top: var(--placement); @@ -262,12 +267,6 @@ header .box { } } -.framed.crosshair { - --placement: -8px; - --corner: 16px; - --img: url("../images/crosshair.svg"); - } - h2.grid-ones { padding-top: var(--s2); padding-bottom: var(--s2);