refactor: replace custom line-height classes with tailwind leading utils

Remove the deprecated src/static/scss/line-height.scss custom utility file, and update all component template instances of line-height-* classes to use the equivalent tailwind leading-[xxpx] utilities. This standardizes line height styling across the codebase by using native tailwind classes instead of custom SCSS helpers.
This commit is contained in:
duanshuwen
2026-07-24 17:00:35 +08:00
parent 39b91a8d05
commit 01fdf80a72
27 changed files with 66 additions and 103 deletions

View File

@@ -5,7 +5,6 @@
@import "./flex.scss";
@import "./font-weight.scss";
@import "./height.scss";
@import "./line-height.scss";
@import "./margin.scss";
@import "./font-size.scss";
@import "./font-family.scss";

View File

@@ -1,36 +0,0 @@
// 行高
.line-height-16 {
line-height: 16px;
}
.line-height-17 {
line-height: 17px;
}
.line-height-18 {
line-height: 18px;
}
.line-height-20 {
line-height: 20px;
}
.line-height-21 {
line-height: 21px;
}
.line-height-22 {
line-height: 22px;
}
.line-height-24 {
line-height: 24px;
}
.line-height-30 {
line-height: 30px;
}
.line-height-32 {
line-height: 32px;
}