diff --git a/src/opal/web/static/css/main.css b/src/opal/web/static/css/main.css index 49b2374..1105a75 100644 --- a/src/opal/web/static/css/main.css +++ b/src/opal/web/static/css/main.css @@ -49,6 +49,7 @@ --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif; /* Spacing */ + --content-max: 1400px; --space-xs: 4px; --space-sm: 8px; --space-md: 16px; @@ -250,7 +251,8 @@ select option { /* Breadcrumbs */ .breadcrumbs { - padding: var(--space-xs) var(--space-md); + /* Full-bleed bar, text aligned to the centered content edge */ + padding: var(--space-xs) max(var(--space-md), calc((100% - var(--content-max)) / 2 + var(--space-md))); background: var(--bg-tertiary); border-bottom: 1px solid var(--border-color); font-family: var(--font-mono); @@ -268,9 +270,12 @@ select option { margin: 0; } -/* Main */ +/* Main — bounded, centered content; chrome stays full-bleed */ .main { flex: 1; + width: 100%; + max-width: var(--content-max); + margin-inline: auto; padding: var(--space-md); } @@ -1376,9 +1381,10 @@ textarea { } /* Execution Tabs — mirrors .nav-dropdown-btn so the chrome reads as one family. - On the exec-detail page the strip breaks out of .main padding so it runs - edge-to-edge; the .main padding-top is also zeroed so the strip hugs the - breadcrumbs above. */ + On the exec-detail page the strip cancels .main's padding so it spans the + bounded content column (the strip is content, not page chrome); .main's + padding-top is also zeroed so the strip sits directly under the + breadcrumb bar. */ .exec-tabs { display: flex; gap: var(--space-xs); diff --git a/src/opal/web/templates/docs.html b/src/opal/web/templates/docs.html index 9aa2e01..7428a6a 100644 --- a/src/opal/web/templates/docs.html +++ b/src/opal/web/templates/docs.html @@ -7,7 +7,7 @@ {% endblock %} {% block content %} -