Skip to content

Commit

Permalink
[docs-infra] Open Codesandbox demo with fontsize=12 (#43860)
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp authored Sep 26, 2024
1 parent dbdea6a commit 7fd82d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/modules/sandbox/CodeSandbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function openSandbox({ files, codeVariant, initialFile }: any) {
addHiddenInput(
form,
'query',
`module=${initialFile}${initialFile.match(/(\.tsx|\.ts|\.js)$/) ? '' : extension}`,
`module=${initialFile}${initialFile.match(/(\.tsx|\.ts|\.js)$/) ? '' : extension}&fontsize=12`,
);
document.body.appendChild(form);
form.submit();
Expand Down

0 comments on commit 7fd82d5

Please sign in to comment.