refactor: replace simple px utility styles

This commit is contained in:
xingyu4j
2026-03-14 18:43:00 +08:00
parent 8fd6bf47b1
commit 9d6fbfd0d6
7 changed files with 12 additions and 14 deletions

View File

@@ -143,14 +143,16 @@ function menuIcon(menu: MenuRecordRaw) {
}
.vben-normal-menu__icon {
max-height: 20px;
@apply max-h-5;
font-size: calc(var(--font-size-base, 16px) * 1.25);
transition: all 0.25s ease;
}
.vben-normal-menu__name {
@apply mt-2;
width: 100%;
margin-top: 8px;
margin-bottom: 0;
font-size: calc(var(--font-size-base, 16px) * 0.75);
font-weight: 400;