修复输入框字体不跟随设置的问题

This commit is contained in:
lyswhut
2022-12-30 18:37:08 +08:00
parent 3a9dbbb577
commit 8bbc4a3c4a
5 changed files with 7 additions and 2 deletions
+3
View File
@@ -19,6 +19,9 @@ time, mark, audio, video {
font-size: inherit;
vertical-align: baseline;
}
input {
font-family: inherit;
}
html {
font-family: "Microsoft YaHei", "Microsoft Jhenghei", "PingFang SC", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Source Han Sans", "Noto Sans CJK Sc", sans-serif;
}
@@ -238,6 +238,7 @@ export default {
line-height: @height-toolbar * 0.52 + 5px;
&::placeholder {
color: var(--color-button-font);
font-size: .98em;
}
}
button {
@@ -266,6 +266,7 @@ export default {
line-height: @height-toolbar * 0.52 + 5px;
&::placeholder {
color: var(--color-button-font);
font-size: .98em;
}
}
button {
@@ -265,7 +265,7 @@ export default {
text-decoration: none;
}
&::placeholder {
color: rgba(197, 197, 197, 0.7)!important;
color: var(--color-200) !important;
}
}
.hotKeyFailed {