Commit 9920453a15

9920453a15c1d46ab5ad95b66fcee539fac87ac2

parent: 8a7366349b

Verified · cmc

cmc <hello@cleberg.net> · 2026-03-11 05:32 UTC

prevent tables from overflowing

Layout: unified · split

theme/static/styles.css +13 −1
@@ -490,7 +490,19 @@ blockquote::after {
490/* ============================================================ 490/* ============================================================
491 TABLES 491 TABLES
492 ============================================================ */ 492 ============================================================ */
493table { width: 100%; border-collapse: collapse; margin: 2rem 0; } 493table {
494 display: block;
495 width: 100%;
496 max-width: 100%;
497 overflow-x: auto;
498 border-collapse: collapse;
499 margin: 2rem 0;
500}
501
502table td, table th {
503 white-space: nowrap;
504 padding: 0.5rem 1rem;
505}
494th, td { 506th, td {
495 border-bottom: 1px solid var(--border-soft); 507 border-bottom: 1px solid var(--border-soft);
496 padding: 0.65rem 0.75rem; 508 padding: 0.65rem 0.75rem;