Skip to content

Commit 6f17ee3

Browse files
Fix fontSize consistency: use numeric px values instead of string '14px'/'12px'
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: francinelucca <40550942+francinelucca@users.noreply.github.com>
1 parent f617c99 commit 6f17ee3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

theme/src/components/contributors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ function Contributors({contributors}) {
3131
</div>
3232

3333
{latestContributor.latestCommit ? (
34-
<Text style={{fontSize: '12px', color: 'var(--fgColor-muted, var(--color-fg-muted))', marginTop: 4}}>
34+
<Text style={{fontSize: 12, color: 'var(--fgColor-muted, var(--color-fg-muted))', marginTop: 4}}>
3535
Last edited by <Link href={`https://github.com/${latestContributor.login}`}>{latestContributor.login}</Link>{' '}
3636
on{' '}
3737
<Link href={latestContributor.latestCommit.url}>

theme/src/components/live-code.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ function LiveCode({code, language, highlight, noinline, metastring}) {
125125
margin: 0,
126126
padding: 16,
127127
fontFamily: 'monospace',
128-
fontSize: '14px',
128+
fontSize: 14,
129129
color: 'var(--fgColor-onEmphasis, var(--color-fg-on-emphasis))',
130130
backgroundColor: 'var(--bgColor-danger-emphasis, var(--color-danger-emphasis))',
131131
}}

0 commit comments

Comments
 (0)