refactor: migrate to tailwind arbitrary width classes

remove the unused src/static/scss/width.scss file and its import from index.scss, replace all existing custom width utility class usages with the equivalent Tailwind arbitrary width syntax
This commit is contained in:
duanshuwen
2026-07-24 22:28:16 +08:00
parent 3d41691b65
commit 4af4255610
17 changed files with 22 additions and 98 deletions

View File

@@ -5,4 +5,3 @@
@import "./font-family.scss";
@import "./overflow.scss";
@import "./scroll.scss";
@import "./width.scss";

View File

@@ -1,75 +0,0 @@
.w-full {
width: 100%;
}
.w-vw {
width: 100vw;
}
.w-auto {
width: auto;
}
.w-vw-24 {
width: calc(100vw - 24px);
}
.w-8 {
width: 8px;
}
.w-10 {
width: 10px;
}
.w-12 {
width: 12px;
}
.w-16 {
width: 16px;
}
.w-24 {
width: 24px;
}
.w-32 {
width: 32px;
}
.w-42 {
width: 42px;
}
.w-44 {
width: 44px;
}
.w-54 {
width: 54px;
}
.w-72 {
width: 72px;
}
.w-50 {
width: 50%;
}
.w-60 {
width: 60px;
}
.w-64 {
width: 64px;
}
.w-80 {
width: 80px;
}
.w-102 {
width: 102px;
}