refactor: reduce duplicate scss

This commit is contained in:
Cotes Chung
2024-10-20 13:47:54 +08:00
parent 6f461132c0
commit c1bd9eb9ee
6 changed files with 45 additions and 38 deletions

View File

@@ -58,9 +58,8 @@
li {
font-size: 1.1rem;
line-height: 3rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@extend %text-ellipsis;
&:nth-child(odd) {
background-color: var(--main-bg, #ffffff);