diff options
| author | Arne Rief <riearn@proton.me> | 2025-09-12 23:11:40 +0200 |
|---|---|---|
| committer | Arne Rief <riearn@proton.me> | 2025-09-12 23:11:40 +0200 |
| commit | bc503590943804838a98e35c705a89667e5b0758 (patch) | |
| tree | 82defa89b9cb514394318d8395f2659ab4689d0a /assets/css | |
| parent | 251f989b535be2f03228f1f13c3ec87d0808e4ec (diff) | |
Codeblock horizontal scrolling
Diffstat (limited to 'assets/css')
| -rw-r--r-- | assets/css/main.css | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/assets/css/main.css b/assets/css/main.css index 7550f30..5a4f7c5 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -186,12 +186,12 @@ time { & > pre { border-radius: var(--border-radius-minimal); + max-width: 715px; + overflow-x: auto; /* enables horizontal scrolling */ padding: 0.5rem; - /* Preserving code indentation with mobile horizontal scrolling */ @media (max-width: 768px) { max-width: 330px; - overflow-x: auto; -webkit-overflow-scrolling: touch; /* iOS Safari only */ } } |
