aboutsummaryrefslogtreecommitdiff
path: root/scss/tag.scss
diff options
context:
space:
mode:
authorAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-13 10:23:50 +0100
committerAnhgelus Morhtuuzh <anhgelus.morhtuuzh@proton.me>2024-11-13 10:23:50 +0100
commitdd8495d596a377a185f32ce2b94d8e79bde9adfe (patch)
tree49c5ac10ea1edc68d4e81355814016be3e8d250d /scss/tag.scss
parent42edbe27329cb094895b8e9c558639ff52611eca (diff)
build(sass): remove imports of vars
imports are deprecated
Diffstat (limited to 'scss/tag.scss')
-rw-r--r--scss/tag.scss10
1 files changed, 5 insertions, 5 deletions
diff --git a/scss/tag.scss b/scss/tag.scss
index 9c36f3d..02539fa 100644
--- a/scss/tag.scss
+++ b/scss/tag.scss
@@ -1,4 +1,4 @@
-@import "vars";
+@use "vars";
.tags {
display: grid;
@@ -6,18 +6,18 @@
margin-top: 1rem;
column-gap: 2rem;
row-gap: 1rem;
- @media only screen and (max-width: $bp-little) {
+ @media only screen and (max-width: vars.$bp-little) {
grid-template-columns: 1fr;
row-gap: 2rem;
}
& h4 {
- @media only screen and (max-width: $bp-little) {
+ @media only screen and (max-width: vars.$bp-little) {
margin-bottom: 0.5rem;
}
}
& p {
display: none;
- @media only screen and (max-width: $bp-little) {
+ @media only screen and (max-width: vars.$bp-little) {
display: block;
}
}
@@ -25,7 +25,7 @@
.tag {
cursor: pointer;
- @media only screen and (max-width: $bp-little) {
+ @media only screen and (max-width: vars.$bp-little) {
cursor: auto;
}
& h4:hover {