修复桌面歌词使用斜体出现截断的问题(#1106)

This commit is contained in:
lyswhut
2023-01-05 18:49:50 +08:00
parent e50a67f0e4
commit bae732016c
3 changed files with 8 additions and 1 deletions
+1
View File
@@ -3,6 +3,7 @@
- 修复初始设置的桌面歌词窗口没有完全居右下角的问题 - 修复初始设置的桌面歌词窗口没有完全居右下角的问题
- 修复Linux arm64系统下无法启动的问题(#1102) - 修复Linux arm64系统下无法启动的问题(#1102)
- 修复桌面歌词使用斜体出现截断的问题(#1106)
### 优化 ### 优化
@@ -5,7 +5,7 @@
:style="lrcStyles" @wheel="handleWheel" @mousedown="handleLyricMouseDown" @touchstart="handleLyricTouchStart" :style="lrcStyles" @wheel="handleWheel" @mousedown="handleLyricMouseDown" @touchstart="handleLyricTouchStart"
> >
<div :class="$style.lyricSpace" /> <div :class="$style.lyricSpace" />
<div ref="dom_lyric_text" :class="[$style.lyricText]" /> <div ref="dom_lyric_text" :class="$style.lyricText" />
<div :class="$style.lyricSpace" /> <div :class="$style.lyricSpace" />
</div> </div>
</template> </template>
@@ -171,6 +171,9 @@ export default {
.lyric-space { .lyric-space {
height: 80%; height: 80%;
} }
.lyric-text {
padding: 0 0.14em;
}
// .lrc-active { // .lrc-active {
// .lrc-line { // .lrc-line {
@@ -178,6 +178,9 @@ export default {
width: 80%; width: 80%;
height: 100%; height: 100%;
} }
.lyric-text {
padding: 0.14em 0;
}
// .lrc-active { // .lrc-active {
// .lrc-line { // .lrc-line {