Explorar el Código

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

xuyunhui hace 1 semana
padre
commit
346cd2c4d5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>