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
This commit is contained in:
duanshuwen
2026-07-24 22:21:14 +08:00
parent 2b12398f2a
commit 3d41691b65
5 changed files with 2 additions and 10 deletions

View File

@@ -34,7 +34,7 @@
</view>
<!-- 消息列表可滚动区域 -->
<scroll-view v-show="tabIndex === 1" class="main main-scroll-area flex-full overflow-hidden min-height-0" scroll-y
<scroll-view v-show="tabIndex === 1" class="main main-scroll-area flex-full overflow-hidden " scroll-y
:scroll-top="scrollTop" :scroll-with-animation="true" @scroll="handleScroll" @scrolltolower="handleScrollToLower"
@touchstart.capture="handleScrollAreaTouchStart" @touchstart="handleScrollAreaTouchStart"
@touchmove="handleScrollAreaTouchMove">

View File

@@ -8,7 +8,7 @@
<view class="flex flex-row flex-justify-start p-[10px]">
<image class="card-img flex-shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
<view class="min-width-0 flex flex-col flex-full pl-[8px] py-[4px]">
<view class=" flex flex-col flex-full pl-[8px] py-[4px]">
<view class="w-full text-[12px] font-[600] text-[#171717] truncate">
{{ item.title }}
</view>

View File

@@ -6,5 +6,3 @@
@import "./overflow.scss";
@import "./scroll.scss";
@import "./width.scss";
@import "./min-height.scss";
@import "./min-width.scss";

View File

@@ -1,3 +0,0 @@
.min-height-0 {
min-height: 0;
}

View File

@@ -1,3 +0,0 @@
.min-width-0 {
min-width: 0;
}