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:
@@ -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";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user