From 26047fb967f079000ab61c7377f8e26e11277569 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 25 Oct 2021 19:39:08 +0200 Subject: [PATCH] luci-theme-bootstrap: fix header width Fixes: 588e24f9ca ("luci-theme-bootstrap: various tweaks and cleanups") Ref: https://github.com/openwrt/luci/commit/588e24f9ca68de074c4d085ec99fd8c96ad0a3ed#r58625289 Signed-off-by: Jo-Philipp Wich (cherry picked from commit 8fc78a26da9ee95b2479213083efa750173291d2) --- .../htdocs/luci-static/bootstrap/cascade.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 344364ae05..c98eb84e0b 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -863,7 +863,7 @@ header { background-repeat: repeat-x; background-image: linear-gradient(to bottom, #333333, #222222); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1); - padding: 0 5px; + padding: 0 calc((100% - 940px) / 2 + 5px); } .nav { -- 2.30.2