mirror of
https://github.com/strapi/strapi.git
synced 2026-01-06 04:03:25 +00:00
Fix code blocks shrinking (#18322)
This commit is contained in:
parent
2937bb9237
commit
8ebb00ad03
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user