fix: styles

This commit is contained in:
Gabe
2025-11-02 00:27:46 +08:00
parent ed4275a18b
commit 61a4a8f920
2 changed files with 3 additions and 3 deletions

View File

@@ -102,9 +102,9 @@ line-height: 1.3;
text-shadow: 1px 1px 2px black; text-shadow: 1px 1px 2px black;
display: inline-block`; display: inline-block`;
const SUBTITLE_ORIGIN_STYLE = `font-size: clamp(1.5rem, 3cqw, 3rem);`; const SUBTITLE_ORIGIN_STYLE = `font-size: clamp(1rem, 2cqw, 3rem);`;
const SUBTITLE_TRANSLATION_STYLE = `font-size: clamp(1.5rem, 3cqw, 3rem);`; const SUBTITLE_TRANSLATION_STYLE = `font-size: clamp(1rem, 2cqw, 3rem);`;
export const DEFAULT_SUBTITLE_SETTING = { export const DEFAULT_SUBTITLE_SETTING = {
enabled: true, // 是否开启 enabled: true, // 是否开启

View File

@@ -87,7 +87,7 @@ const genStyles = ({
[OPT_STYLE_DASHBOX]: ` [OPT_STYLE_DASHBOX]: `
border: 1px dashed ${color}; border: 1px dashed ${color};
display: block; display: block;
padding: 0.2em 0.4em; padding: 0.2em 0.3em;
box-sizing: border-box; box-sizing: border-box;
`, `,
// 马克笔 // 马克笔