fix: 标题行高1.3→1.05,与后端ASS渲染行间距对齐 #1507

Closed
xiaoxia wants to merge 1 commits from fix/title-line-height into develop
2 changed files with 2 additions and 2 deletions
@@ -513,7 +513,7 @@ const FrontendPreviewPlayer: React.FC<FrontendPreviewPlayerProps> = ({
color: titleSettings.color || "#ffffff",
fontWeight: titleSettings.bold ? 700 : 400,
fontStyle: titleSettings.italic ? "italic" : "normal",
lineHeight: 1.3,
lineHeight: 1.05,
wordBreak: "break-word",
WebkitTextStroke: titleSettings.stroke
? `${titleStrokeWidth}px #000000`
@@ -107,7 +107,7 @@ function buildTitleStyle(
color: settings.color || "#ffffff",
fontWeight: settings.bold ? 700 : 400,
fontStyle: settings.italic ? "italic" : "normal",
lineHeight: 1.3,
lineHeight: 1.05,
wordBreak: "break-word",
pointerEvents: "none",
userSelect: "none",