Skip to content

Commit d3f2e9c

Browse files
fix: shrink the codesandbox logo
1 parent 50099a3 commit d3f2e9c

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

docusaurus/src/components/CodeSandboxBlock/index.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,10 @@ export default function CodeBlock ({
5454

5555
export function CodeSandboxText (): JSX.Element {
5656
return (
57-
<text><Svg role="img" style={{
58-
width: '15',
59-
height: '15',
60-
verticalAlign: 'middle',
61-
marginRight: '1px'
57+
<text><Svg role="img" width={15} height={15} style={{
58+
verticalAlign: '-.1em',
59+
marginRight: '2px',
60+
marginLeft: '1px'
6261
}} />CodeSandbox</text>
6362
)
6463
}
Lines changed: 2 additions & 2 deletions
Loading

0 commit comments

Comments
 (0)