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:
@@ -34,7 +34,7 @@
|
|||||||
</view>
|
</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"
|
:scroll-top="scrollTop" :scroll-with-animation="true" @scroll="handleScroll" @scrolltolower="handleScrollToLower"
|
||||||
@touchstart.capture="handleScrollAreaTouchStart" @touchstart="handleScrollAreaTouchStart"
|
@touchstart.capture="handleScrollAreaTouchStart" @touchstart="handleScrollAreaTouchStart"
|
||||||
@touchmove="handleScrollAreaTouchMove">
|
@touchmove="handleScrollAreaTouchMove">
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
<view class="flex flex-row flex-justify-start p-[10px]">
|
<view class="flex flex-row flex-justify-start p-[10px]">
|
||||||
<image class="card-img flex-shrink-0 rounded-[14px]" :src="createSvgIndex(index)" />
|
<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">
|
<view class="w-full text-[12px] font-[600] text-[#171717] truncate">
|
||||||
{{ item.title }}
|
{{ item.title }}
|
||||||
</view>
|
</view>
|
||||||
|
|||||||
@@ -6,5 +6,3 @@
|
|||||||
@import "./overflow.scss";
|
@import "./overflow.scss";
|
||||||
@import "./scroll.scss";
|
@import "./scroll.scss";
|
||||||
@import "./width.scss";
|
@import "./width.scss";
|
||||||
@import "./min-height.scss";
|
|
||||||
@import "./min-width.scss";
|
|
||||||
|
|||||||
@@ -1,3 +0,0 @@
|
|||||||
.min-height-0 {
|
|
||||||
min-height: 0;
|
|
||||||
}
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
.min-width-0 {
|
|
||||||
min-width: 0;
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user