Fix code blocks shrinking (#18322)

This commit is contained in:
Rémi de Juvigny 2023-10-06 11:28:40 +02:00 committed by GitHub
parent 2937bb9237
commit 8ebb00ad03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -100,6 +100,7 @@ const CodeBlock = styled.pre.attrs({ role: 'code' })`
max-width: 100%;
overflow: auto;
padding: ${({ theme }) => `${theme.spaces[3]} ${theme.spaces[4]}`};
flex-shrink: 0;
& > code {
font-family: 'SF Mono', SFMono-Regular, ui-monospace, 'DejaVu Sans Mono', Menlo, Consolas,
monospace;