소스 검색

样式调整

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>