From: Jo-Philipp Wich Date: Mon, 25 Oct 2021 17:39:08 +0000 (+0200) Subject: luci-theme-bootstrap: fix header width X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=8fc78a26da9ee95b2479213083efa750173291d2;p=project%2Fluci.git 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 --- 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 985f97447a..4780eb892b 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 {