refactor: improve SCSS nesting structure

This commit is contained in:
Erzbir
2026-05-16 15:27:13 +08:00
parent f3002b58dc
commit be59fb0e06
19 changed files with 394 additions and 379 deletions
+7 -8
View File
@@ -3,14 +3,14 @@
gap: calc(var(--size-theme-font) * 0.5);
margin: var(--size-theme-font) 0;
width: 80%;
}
.moment-media video {
width: 100%;
height: calc(var(--size-theme-font) * 12.5);
object-fit: cover;
border-radius: var(--size-theme-font);
transition: transform 0.3s ease;
video {
width: 100%;
height: calc(var(--size-theme-font) * 12.5);
object-fit: cover;
border-radius: var(--size-theme-font);
transition: transform 0.3s ease;
}
}
.moment-footer {
@@ -36,7 +36,6 @@
&.active {
color: var(--color-theme-accent);
}
}
.moment-comment-section {