Skip to content

Default Text Size for Captions #1583

Closed Answered by felipehertzer
felipehertzer asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to set the default size, but only using css

['.vds-captions']: {
    '--media-cue-font-size': 'clamp(14px, calc(var(--media-height) / 100 * 6), 48px)',
},

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by felipehertzer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant