mirror of
https://github.com/wezm/wezm.net.git
synced 2024-09-19 21:18:27 +00:00
Force wrapping of inline code if needed
Stops horizontal scroll on mobile for pre-formatted text like URLs.
This commit is contained in:
parent
ac6bac0903
commit
aae6ebd5cf
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ pre, code {
|
||||||
padding: 0.1em 0.2em;
|
padding: 0.1em 0.2em;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
|
overflow-wrap: anywhere;
|
||||||
}
|
}
|
||||||
pre {
|
pre {
|
||||||
padding: 0.5em 1em;
|
padding: 0.5em 1em;
|
||||||
|
|
Loading…
Reference in a new issue