Skip to content

Commit

Permalink
fix css var bug
Browse files Browse the repository at this point in the history
  • Loading branch information
heisenburger committed Jan 19, 2024
1 parent dfacf71 commit dbbb807
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions _sass/_layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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);
Expand All @@ -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);
Expand Down

0 comments on commit dbbb807

Please sign in to comment.