luci-theme-bootstrap: match footer with header
authorJoshua Criss <redacted>
Thu, 2 Apr 2026 04:44:43 +0000 (15:44 +1100)
committerPaul Donald <redacted>
Thu, 2 Apr 2026 14:09:00 +0000 (16:09 +0200)
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 <redacted>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index c1b214fc1380c17ed77d2ed72a2a0c2d7a5579b8..db83e020e70bbf2bbb2d1fef5388a33e1785363d 100644 (file)
@@ -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 {
git clone https://git.99rst.org/PROJECT