1
1
Fork 0

fix code blocks on mobile

This commit is contained in:
Ava Gaiety W 2025-05-02 22:21:55 -06:00
parent 77bfaf2e97
commit 630b8772e1

View file

@ -21,11 +21,15 @@
} }
pre { pre {
padding: 1rem 0.5rem; padding: 0.5rem 0.75rem;
margin: 0.5rem 0 ; margin: 0.5rem 0 ;
border-radius: 0.25rem; border-radius: 0.25rem;
color: rgb(var(--ctp-text)); color: rgb(var(--ctp-text));
background-color: rgb(var(--ctp-base)); background-color: rgb(var(--ctp-crust));
outline: 1px solid rgb(var(--ctp-surface0)); outline: 1px solid rgb(var(--ctp-surface0));
overflow: auto; overflow: auto;
max-width: 100%;
white-space: pre-wrap;
page-break-inside: avoid;
font-family: monospace, monospace;
} }