From 6bfaa4dec784abedd7a408b10af19f8e9280f458 Mon Sep 17 00:00:00 2001 From: Julien Herr Date: Sat, 23 May 2026 10:23:11 +0200 Subject: [PATCH] fix(landing): eliminate mobile horizontal scroll Fix the install step grid track (48px minmax(0,1fr)) so wide code blocks and the WAF table no longer blow out the page width on mobile. Transpose the WAF rate-limit table to a vertical layout (endpoints as columns, settings as rows) and reclaim horizontal space with tighter mobile padding. Co-Authored-By: Claude Opus 4.7 --- docs/index.html | 66 ++++++++++++++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 17 deletions(-) diff --git a/docs/index.html b/docs/index.html index c4e53bd..2fdd6a8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -503,7 +503,7 @@ .install-step { display: grid; - grid-template-columns: 48px 1fr; + grid-template-columns: 48px minmax(0, 1fr); gap: 1.25rem; align-items: start; } @@ -590,30 +590,49 @@ border-collapse: collapse; font-size: 0.85rem; margin-top: 0.75rem; + table-layout: fixed; } - .waf-table th { + .waf-table th, + .waf-table td { text-align: left; - padding: 0.5rem 0.75rem; + padding: 0.5rem 0.6rem; + vertical-align: top; + } + .waf-table thead th:first-child { width: 38%; } + .waf-table thead th { border-bottom: 1px solid var(--border); + color: var(--text); + font-weight: 600; + font-size: 0.8rem; + } + .waf-table tbody th { color: var(--muted); font-weight: 500; font-size: 0.8rem; - } - .waf-table td { - padding: 0.5rem 0.75rem; border-bottom: 1px solid rgba(255,255,255,0.04); - vertical-align: top; } - .waf-table td code { + .waf-table tbody td { + border-bottom: 1px solid rgba(255,255,255,0.04); + color: var(--text); + } + .waf-table code { font-family: 'JetBrains Mono', monospace; font-size: 0.8em; color: var(--accent); + overflow-wrap: anywhere; } - .waf-table tr:last-child td { border-bottom: none; } + .waf-table tbody tr:last-child th, + .waf-table tbody tr:last-child td { border-bottom: none; } @media (max-width: 600px) { .step:not(:last-child)::after { display: none; } .step { padding-right: 0; } + section { padding-left: 1.25rem; padding-right: 1.25rem; } + #how-it-works { padding-left: 1.25rem; padding-right: 1.25rem; } + .install-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0.85rem; } + .install-step-num { width: 34px; height: 34px; font-size: 0.8rem; } + .install-step-connector { margin-left: 16px; } + .code-block pre { padding: 1rem; } } @@ -984,23 +1003,36 @@ bucket_name = "kill-the-news-attachments"
WAF rules
- + + + + + - + - - - - + - - + + + + + + + + + + + + + +
EndpointCondition (URI Path)Limit (recommended)Limit (free tier)Action (recommended)Action (free tier)
Setting/api/inbound/admin*
/api/inboundCondition (URI Path) wildcard /api/inbound/*60 req / min / IP10 req / 10 s / IPBlock (1 min)Block (10 s)wildcard /admin/*
/admin*wildcard /admin/*Limit (recommended)60 req / min / IP 20 req / min / IP
Limit (free tier)10 req / 10 s / IP 20 req / 10 s / IP
Action (recommended)Block (1 min) Managed Challenge (5 min)
Action (free tier)Block (10 s) Managed Challenge (10 s)