浏览代码

修改样式

Renxy 1 年之前
父节点
当前提交
381e9caec0
共有 1 个文件被更改,包括 10 次插入0 次删除
  1. 10 0
      src/pages/TaskManage/Detail/TaskDetail/taskDetail.less

+ 10 - 0
src/pages/TaskManage/Detail/TaskDetail/taskDetail.less

@@ -155,6 +155,8 @@
     .ant-modal-title {
       font-size: 0.28rem;
     }
+
+    .ant-select:not(.ant-select-customize-input) .ant-select-selector,
     .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
       height: 0.6rem;
       padding-top: 0.15rem;
@@ -185,6 +187,14 @@
     .ant-picker {
       height: 0.6rem;
     }
+    .ant-select-selection-placeholder {
+      position: absolute;
+      top: 50%;
+      inset-inline-start: 11px;
+      inset-inline-end: 11px;
+      transform: translateY(-50%);
+      transition: all 0.3s;
+    }
   }
 }