Skip to content

Commit 69e350f

Browse files
authored
fix:暗色主题适配 (#3243)
1 parent 287bca5 commit 69e350f

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

examples/sites/demos/mobile-first/app/input/mask.vue

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,4 @@ export default {
2424
.demo-input {
2525
width: 150px;
2626
}
27-
28-
.demo-input > * {
29-
margin-bottom: 10px;
30-
}
3127
</style>

packages/theme/src/input/index.less

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444

4545
&.@{input-prefix-cls}__mask {
4646
color: #999;
47+
padding-top: 10px;
4748
}
4849
}
4950

@@ -320,6 +321,7 @@
320321
white-space: nowrap;
321322
flex: 1;
322323
margin-right: 16px;
324+
padding-top: 10px;
323325
}
324326
}
325327
}

packages/theme/src/upload-list/index.less

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,12 +291,16 @@
291291
}
292292

293293
&__icon-operationfaild {
294-
fill: #f23030;
294+
fill: var(--tv-UploadList-item-fail-text-color);
295295
margin-right: 8px;
296296
margin-left: 4px;
297297
font-size: 16px;
298298
}
299299

300+
&__text-desc {
301+
line-height: 30px;
302+
}
303+
300304
&__item-tooltip {
301305
display: flex;
302306
align-items: center;

0 commit comments

Comments
 (0)