Sfoglia il codice sorgente

pms 项目选择责任人 穿梭窗口 样式

(cherry picked from commit 599a561913a43eb253a7056897e0d842e3fc864d)
zhangcl 2 settimane fa
parent
commit
b8d5a71e6d
1 ha cambiato i file con 7 aggiunte e 3 eliminazioni
  1. 7 3
      src/views/pms/iotprojectinfo/IotProjectInfoForm.vue

+ 7 - 3
src/views/pms/iotprojectinfo/IotProjectInfoForm.vue

@@ -878,7 +878,7 @@ const handleSelect = (item: any) => {
 
 .transfer-container {
   text-align: center;
-  padding: 20px 0;
+  padding: 0px 0;
 }
 
 /* 3. 直接调整 el-transfer 左右窗口的宽度 */
@@ -892,11 +892,15 @@ const handleSelect = (item: any) => {
 }
 
 :deep(.el-transfer-panel__item) {
+  display: flex !important;
+  align-items: center !important;
+  height: 32px !important;
+  line-height: 32px !important;
+  padding: 0 8px !important;
+  margin: 0 !important;
   white-space: nowrap;
   overflow: hidden;
   text-overflow: ellipsis;
-  max-width: 100%;
-  padding: 6px 6px;
 }
 
 .transfer-option-text {