From ec33f4110513b39c33b0b48dbbe981035aa8aa70 Mon Sep 17 00:00:00 2001 From: Joshua Criss Date: Thu, 2 Apr 2026 15:44:43 +1100 Subject: [PATCH] luci-theme-bootstrap: match footer with header Match footer with header padding left and right so they are aligned (header uses 1180px, but footer was using 940px). Signed-off-by: Joshua Criss --- .../htdocs/luci-static/bootstrap/cascade.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index c1b214fc13..db83e020e7 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1371,8 +1371,9 @@ footer { font-size: 12px; color: var(--text-color-medium); /* the redundant properties below work around a csstidy bug */ - padding-left: calc((100% - 940px) / 2); - padding-right: calc((100% - 940px) / 2); + /* Match footer with header padding left and right so they are aligned (header uses 1180px, but footer was using 940px) */ + padding-left: calc((100% - 1180px) / 2); + padding-right: calc((100% - 1180px) / 2); } footer a {