From 3d41691b659c5839aa72dbf0e2c195c062347d66 Mon Sep 17 00:00:00 2001 From: duanshuwen Date: Fri, 24 Jul 2026 22:21:14 +0800 Subject: [PATCH] refactor(scss, vue): remove unused min-height and min-width utility classes remove the unused min-height.scss and min-width.scss source files delete their @import statements from src/static/scss/index.scss strip the min-width-0 and min-height-0 class attributes from the relevant Vue components --- src/pages/ChatMain/ChatMainList/index.vue | 2 +- src/pages/Discovery/components/QuickQuestions/index.vue | 2 +- src/static/scss/index.scss | 2 -- src/static/scss/min-height.scss | 3 --- src/static/scss/min-width.scss | 3 --- 5 files changed, 2 insertions(+), 10 deletions(-) delete mode 100644 src/static/scss/min-height.scss delete mode 100644 src/static/scss/min-width.scss diff --git a/src/pages/ChatMain/ChatMainList/index.vue b/src/pages/ChatMain/ChatMainList/index.vue index 40cb565..4e5dd71 100644 --- a/src/pages/ChatMain/ChatMainList/index.vue +++ b/src/pages/ChatMain/ChatMainList/index.vue @@ -34,7 +34,7 @@ - diff --git a/src/pages/Discovery/components/QuickQuestions/index.vue b/src/pages/Discovery/components/QuickQuestions/index.vue index 81c4a0f..de0c554 100644 --- a/src/pages/Discovery/components/QuickQuestions/index.vue +++ b/src/pages/Discovery/components/QuickQuestions/index.vue @@ -8,7 +8,7 @@ - + {{ item.title }} diff --git a/src/static/scss/index.scss b/src/static/scss/index.scss index 827bae4..b7cb510 100644 --- a/src/static/scss/index.scss +++ b/src/static/scss/index.scss @@ -6,5 +6,3 @@ @import "./overflow.scss"; @import "./scroll.scss"; @import "./width.scss"; -@import "./min-height.scss"; -@import "./min-width.scss"; diff --git a/src/static/scss/min-height.scss b/src/static/scss/min-height.scss deleted file mode 100644 index 28ad531..0000000 --- a/src/static/scss/min-height.scss +++ /dev/null @@ -1,3 +0,0 @@ -.min-height-0 { - min-height: 0; -} \ No newline at end of file diff --git a/src/static/scss/min-width.scss b/src/static/scss/min-width.scss deleted file mode 100644 index 864db64..0000000 --- a/src/static/scss/min-width.scss +++ /dev/null @@ -1,3 +0,0 @@ -.min-width-0 { - min-width: 0; -} \ No newline at end of file