luci-theme-bootstrap: fix header width
authorJo-Philipp Wich <jo@mein.io>
Mon, 25 Oct 2021 17:39:08 +0000 (19:39 +0200)
committerJo-Philipp Wich <jo@mein.io>
Mon, 25 Oct 2021 17:39:47 +0000 (19:39 +0200)
Fixes: 588e24f9ca ("luci-theme-bootstrap: various tweaks and cleanups")
Ref: https://github.com/openwrt/luci/commit/588e24f9ca68de074c4d085ec99fd8c96ad0a3ed#r58625289
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index 985f97447a9de202e73ccb25142fce6ed052a637..4780eb892bdbc2c6ae85dddac9f0330077016f74 100644 (file)
@@ -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 {