修复桌面歌词使用斜体出现截断的问题(#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
@@ -5,7 +5,7 @@
:style="lrcStyles" @wheel="handleWheel" @mousedown="handleLyricMouseDown" @touchstart="handleLyricTouchStart"
>
<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>
</template>
@@ -171,6 +171,9 @@ export default {
.lyric-space {
height: 80%;
}
.lyric-text {
padding: 0 0.14em;
}
// .lrc-active {
// .lrc-line {
@@ -178,6 +178,9 @@ export default {
width: 80%;
height: 100%;
}
.lyric-text {
padding: 0.14em 0;
}
// .lrc-active {
// .lrc-line {