added 'word-break: keep-all' to kr subtitle css

This commit is contained in:
ad044 2021-08-26 21:39:17 +04:00
parent b8ea35657a
commit e7f1893280

View file

@ -75,7 +75,7 @@ const MediaPlayer = () => {
<p
ref={subtitleRef}
id={"subtitle"}
style={language === "ko" ? { fontFamily: "sans-serif" } : {}}
style={language === "ko" ? { fontFamily: "sans-serif", wordBreak: "keep-all" } : {}}
/>
</div>
</>