Fix width of pre element for code blocks
This commit is contained in:
parent
d12a3bf069
commit
71c0e0f07c
|
@ -242,9 +242,13 @@ pre {
|
|||
}
|
||||
|
||||
pre {
|
||||
max-width: calc(100vw - 2em);
|
||||
overflow-x: auto;
|
||||
padding: 0.8em 1.4em;
|
||||
max-width: 90vw;
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
summary {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<subtitle>Leilukin's personal website.</subtitle>
|
||||
<link href="https://leilukin.neocities.org/feed.xml" rel="self"/>
|
||||
<link href="https://leilukin.neocities.org"/>
|
||||
<updated>2024-05-09T17:12:48Z</updated>
|
||||
<updated>2024-05-09T18:00:34Z</updated>
|
||||
<id>https://leilukin.neocities.org</id>
|
||||
<author>
|
||||
<name>Leilukin</name>
|
||||
|
|
|
@ -242,9 +242,13 @@ pre {
|
|||
}
|
||||
|
||||
pre {
|
||||
max-width: calc(100vw - 2em);
|
||||
overflow-x: auto;
|
||||
padding: 0.8em 1.4em;
|
||||
max-width: 90vw;
|
||||
overflow: auto;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
pre > code {
|
||||
white-space: pre;
|
||||
}
|
||||
|
||||
summary {
|
||||
|
|
Loading…
Reference in New Issue