fix if statements

This commit is contained in:
edshot99 2025-02-07 12:52:40 -06:00
parent 62ad7adf8b
commit 8575bb7a36
3 changed files with 6 additions and 6 deletions

View File

@ -26,7 +26,7 @@
margin-top: 1.5em !important;
}
@if $comment-buttons {
@if $comment-buttons == 1 {
.content-menu {
margin: .5rem 0;
margin-top: 1rem;
@ -363,11 +363,11 @@
}
}
@if $profile-picture-circle {
@if $profile-picture-circle == 1 {
:root {
--avatar-border-radius: 50%;
}
} else {
} @else {
:root {
--avatar-border-radius: 2.5%;
}
@ -377,7 +377,7 @@
}
}
@if $name-rank-border-colors {
@if $name-rank-border-colors == 1 {
body[data-th-main="hexagon"] {
.author-info:has(.user-member) .post-thumbnail {
border-color: var(--user-member) !important;

View File

@ -1,6 +1,6 @@
div#c-blips {
article.blip {
@if $comment-buttons {
@if $comment-buttons == 1 {
.content-menu menu {
gap: .25rem;
}

View File

@ -225,7 +225,7 @@ a.user-blocked, a.user-banned {
}
}
@if $name-rank-border-colors {
@if $name-rank-border-colors == 1 {
:root {
--mobileRankOpacity: 0.2;
}