浏览代码

样式调整

jmxd 2 年之前
父节点
当前提交
0ab09e4018
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4 4
      src/components/common/form/magic-file.vue

+ 4 - 4
src/components/common/form/magic-file.vue

@@ -41,9 +41,9 @@ const onFileSelected = () => {
 }
 .magic-file .magic-icon{
 	position: absolute;
-	right: 3px;
-	top: 3px;
-	height: 16px;
-	line-height: 16px;
+	right: 4px;
+	top: 0;
+	height: var(--magic-input-height);
+	line-height: var(--magic-input-height);
 }
 </style>