fix: styles
This commit is contained in:
@@ -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, // 是否开启
|
||||||
|
|||||||
@@ -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;
|
||||||
`,
|
`,
|
||||||
// 马克笔
|
// 马克笔
|
||||||
|
|||||||
Reference in New Issue
Block a user