From 15120a280f1a335a5e27baf37e6b323b1b2d46e8 Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Sun, 10 May 2026 23:15:15 -0400 Subject: [PATCH] CSS: remove remaining fixable inline styles across templates - Suppress modal form groups: strip margin-bottom:12px (lt-form-group already has margin-bottom in TDS); use lt-form-group--last for the final group where zero margin is needed - Keyboard shortcuts table: remove width:100% (lt-table is already full- width in base.css) - Settings divider: replace style=margin override with .lt-divider--compact - Topology bus section: move max-width:860px into .topo-bus-section rule Co-Authored-By: Claude Sonnet 4.6 --- static/style.css | 7 +++++++ templates/base.html | 14 +++++++------- templates/index.html | 2 +- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/static/style.css b/static/style.css index ab073c6..df726bc 100644 --- a/static/style.css +++ b/static/style.css @@ -118,6 +118,12 @@ padding: 0.2rem 0.45rem; } +/* ── Form group modifiers ────────────────────────────────────────── */ +.lt-form-group--last { margin-bottom: 0; } + +/* ── Divider compact variant ─────────────────────────────────────── */ +.lt-divider--compact { margin: 1rem 0 0.75rem; } + /* ── Topology section collapse toggle ────────────────────────────── */ .topo-collapse-btn { margin-left: auto; @@ -520,6 +526,7 @@ /* Bus rails */ .topo-bus-section { width: 100%; + max-width: 860px; display: flex; flex-direction: column; align-items: stretch; diff --git a/templates/base.html b/templates/base.html index 8e5b2b0..2d83bba 100644 --- a/templates/base.html +++ b/templates/base.html @@ -207,7 +207,7 @@
-
+
-
+
-