diff --git a/src/config/setting.js b/src/config/setting.js index 388d609..6d77912 100644 --- a/src/config/setting.js +++ b/src/config/setting.js @@ -102,9 +102,9 @@ line-height: 1.3; text-shadow: 1px 1px 2px black; 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 = { enabled: true, // 是否开启 diff --git a/src/libs/style.js b/src/libs/style.js index 88390d2..69fb637 100644 --- a/src/libs/style.js +++ b/src/libs/style.js @@ -87,7 +87,7 @@ const genStyles = ({ [OPT_STYLE_DASHBOX]: ` border: 1px dashed ${color}; display: block; - padding: 0.2em 0.4em; + padding: 0.2em 0.3em; box-sizing: border-box; `, // 马克笔