diff options
| author | Adam Mathes <adam@adammathes.com> | 2026-02-27 21:48:24 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-02-27 21:48:24 -0800 |
| commit | 71427c7f44a7c451ca7c76d3714f1de78d3e8253 (patch) | |
| tree | c27cbbff9571475d7c9ac2d24cdb7aaac08ded95 /frontend-vanilla/src/style.css | |
| parent | fea87c9814618646489d8403d584da25a38e6ba7 (diff) | |
| parent | 474a93374340fa3aa5997b66ac1fecbffa620375 (diff) | |
| download | neko-71427c7f44a7c451ca7c76d3714f1de78d3e8253.tar.gz neko-71427c7f44a7c451ca7c76d3714f1de78d3e8253.tar.bz2 neko-71427c7f44a7c451ca7c76d3714f1de78d3e8253.zip | |
Fix mobile horizontal scrolling caused by wide RSS content
Diffstat (limited to 'frontend-vanilla/src/style.css')
| -rw-r--r-- | frontend-vanilla/src/style.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/frontend-vanilla/src/style.css b/frontend-vanilla/src/style.css index 27a8d28..47b2de2 100644 --- a/frontend-vanilla/src/style.css +++ b/frontend-vanilla/src/style.css @@ -288,6 +288,7 @@ html { width: 100%; height: 100%; min-width: 0; + overflow-x: hidden; overflow-y: auto; background-color: var(--bg-color); padding: 1.5rem 2rem; @@ -451,6 +452,7 @@ select:focus { border-bottom: none; border-radius: 8px; transition: background-color 0.2s ease, opacity 0.3s ease; + overflow: hidden; } @@ -470,6 +472,8 @@ select:focus { color: var(--link-color); display: block; flex: 1; + min-width: 0; + overflow-wrap: break-word; cursor: pointer; } @@ -517,6 +521,7 @@ select:focus { margin-top: 1rem; overflow-wrap: break-word; word-break: break-word; + overflow-x: hidden; } .item-description a { @@ -526,7 +531,9 @@ select:focus { .item-description img, .item-description video, -.item-description pre { +.item-description pre, +.item-description table, +.item-description iframe { max-width: 100%; height: auto; display: block; |
