mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-17 13:12:07 +00:00
fix(synced-lyrics): Fix reverse direction of synced lyrics for persian or other rtl languages (#2940)
Add direction auto to synced lyrics to fix reverse direction in rtl languages
This commit is contained in:
committed by
GitHub
parent
4d51f1a412
commit
aa48944212
@ -50,7 +50,7 @@ export const SyncedLine = ({ line }: SyncedLineProps) => {
|
|||||||
_ytAPI?.seekTo(line.timeInMs / 1000);
|
_ytAPI?.seekTo(line.timeInMs / 1000);
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div class="text-lyrics description ytmusic-description-shelf-renderer">
|
<div dir="auto" class="text-lyrics description ytmusic-description-shelf-renderer">
|
||||||
<yt-formatted-string
|
<yt-formatted-string
|
||||||
text={{
|
text={{
|
||||||
runs: [{ text: config()?.showTimeCodes ? `[${line.time}] ` : '' }],
|
runs: [{ text: config()?.showTimeCodes ? `[${line.time}] ` : '' }],
|
||||||
|
|||||||
Reference in New Issue
Block a user