瀏覽代碼

fix(wxss): replace arbitrary max-h-[80vh] with inline style

xuyunhui 1 周之前
父節點
當前提交
346cd2c4d5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/dispatch/ScheduleView.vue

+ 1 - 1
src/components/dispatch/ScheduleView.vue

@@ -104,7 +104,7 @@
     <!-- 新增排班弹窗 -->
     <view v-if="showModal" class="fixed inset-0 z-50 flex items-center justify-center">
       <view class="absolute inset-0" style="background-color: rgba(0, 0, 0, 0.5);" @click="closeModal"></view>
-      <view class="relative bg-white rounded-2xl w-80 p-4 max-h-[80vh] overflow-y-auto">
+      <view class="relative bg-white rounded-2xl w-80 p-4 overflow-y-auto" style="max-height: 80vh;">
         <view class="flex justify-between items-center mb-4">
           <text class="text-base font-semibold text-gray-800">新增排班</text>
           <text class="uni-icons uniui-close text-gray-400 p-2" @click="closeModal"></text>