优化某些UI的字体可能出现被截断的问题
parent
c52034f992
commit
6ff7cfde11
|
@ -27,7 +27,7 @@ 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;
|
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;
|
||||||
}
|
}
|
||||||
body {
|
body {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
ol, ul {
|
ol, ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
|
@ -334,7 +334,7 @@ html {
|
||||||
padding: 0.25em 0.4em;
|
padding: 0.25em 0.4em;
|
||||||
font-size: .7em;
|
font-size: .7em;
|
||||||
// font-weight: 700;
|
// font-weight: 700;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
// vertical-align: baseline;
|
// vertical-align: baseline;
|
||||||
|
|
|
@ -33,7 +33,7 @@ footer, header, hgroup, menu, nav, section {
|
||||||
// html {
|
// html {
|
||||||
// }
|
// }
|
||||||
body {
|
body {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
ol, ul {
|
ol, ul {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
|
@ -111,7 +111,7 @@ const updatePreservesPitch = (enabled) => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
span {
|
span {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.control {
|
.control {
|
||||||
|
|
|
@ -115,7 +115,7 @@ const handleUpdateSpeed = (value) => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// font-size: 13px;
|
// font-size: 13px;
|
||||||
span {
|
span {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -151,7 +151,7 @@ onMounted(() => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// font-size: 13px;
|
// font-size: 13px;
|
||||||
span {
|
span {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -134,7 +134,7 @@ const handleUpdatePlaybackRate = (value) => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// font-size: 13px;
|
// font-size: 13px;
|
||||||
span {
|
span {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -138,9 +138,6 @@ const toggleMode = (mode) => {
|
||||||
flex-flow: row nowrap;
|
flex-flow: row nowrap;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
label span {
|
|
||||||
line-height: 1;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -101,7 +101,7 @@ const icon = computed(() => {
|
||||||
align-items: center;
|
align-items: center;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
span {
|
span {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -302,7 +302,7 @@ export default {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
right: 30px;
|
right: 30px;
|
||||||
top: -14px;
|
top: -14px;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: var(--color-primary-dark-100);
|
color: var(--color-primary-dark-100);
|
||||||
opacity: .7;
|
opacity: .7;
|
||||||
|
|
|
@ -104,7 +104,7 @@ export default {
|
||||||
@import '@renderer/assets/styles/layout.less';
|
@import '@renderer/assets/styles/layout.less';
|
||||||
|
|
||||||
.btns {
|
.btns {
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
|
|
||||||
button {
|
button {
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
|
|
|
@ -126,7 +126,7 @@ export default {
|
||||||
// border-radius: .3125rem;
|
// border-radius: .3125rem;
|
||||||
transition: 0.4s ease;
|
transition: 0.4s ease;
|
||||||
transition-property: all;
|
transition-property: all;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
display: flex;
|
display: flex;
|
||||||
// border-right: none;
|
// border-right: none;
|
||||||
svg {
|
svg {
|
||||||
|
@ -136,7 +136,7 @@ export default {
|
||||||
button {
|
button {
|
||||||
display: block;
|
display: block;
|
||||||
padding: 7px 12px;
|
padding: 7px 12px;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
color: var(--color-button-font);
|
color: var(--color-button-font);
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -364,7 +364,7 @@ export default {
|
||||||
color: var(--color-primary);
|
color: var(--color-primary);
|
||||||
padding: 5px;
|
padding: 5px;
|
||||||
font-size: .8em;
|
font-size: .8em;
|
||||||
line-height: 1;
|
line-height: 1.2;
|
||||||
opacity: .75;
|
opacity: .75;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue