luci-theme-bootstrap: work around csstidy bug

Ref: 26047fb967 (commitcomment-58638390)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 37e40e04ef)
This commit is contained in:
Jo-Philipp Wich 2021-10-25 23:59:02 +02:00
parent d24760e60a
commit a706a9c867

View file

@ -863,7 +863,10 @@ 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 calc((100% - 940px) / 2 + 5px);
padding: 0;
/* the redundant properties below work around a csstidy bug */
padding-left: calc((100% - 940px) / 2 + 5px);
padding-right: calc((100% - 940px) / 2 + 5px);
}
.nav {