diff options
| author | Fuwn <[email protected]> | 2025-12-02 00:35:30 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-12-02 00:35:30 -0800 |
| commit | 7e8a2c28dd7486c2d63eb81f7705690c8b11bfb5 (patch) | |
| tree | 0dda89732c9b311f2fa1bf597d2ac90af727db46 /index.html | |
| parent | fix(index.html): File upload hover colour (diff) | |
| download | rysk-main.tar.xz rysk-main.zip | |
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 32 |
1 files changed, 27 insertions, 5 deletions
@@ -238,6 +238,25 @@ .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; + scrollbar-width: thin; + scrollbar-color: var(--border) var(--surface); + } + + .table-wrapper::-webkit-scrollbar { + height: 8px; + } + + .table-wrapper::-webkit-scrollbar-track { + background: var(--surface); + } + + .table-wrapper::-webkit-scrollbar-thumb { + background: var(--border); + border-radius: 4px; + } + + .table-wrapper::-webkit-scrollbar-thumb:hover { + background: rgba(255, 255, 255, 0.15); } table { @@ -535,11 +554,6 @@ } @media (max-width: 480px) { - th:nth-child(5), - td:nth-child(5) { - display: none; - } - .header h1 { font-size: 1.5rem; } @@ -550,11 +564,19 @@ table { font-size: 0.75rem; + min-width: 600px; /* Ensure table is wide enough to require scrolling */ } th, td { padding: var(--spacing-xs) var(--spacing-sm); + white-space: nowrap; /* Prevent text wrapping */ + } + + /* Make sure table wrapper shows scrollbar on mobile */ + .table-wrapper { + overflow-x: scroll; + -webkit-overflow-scrolling: touch; } } |