summaryrefslogtreecommitdiffhomepage
path: root/themes
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2020-03-31 15:25:27 +0200
committerJo-Philipp Wich <jo@mein.io>2020-03-31 15:27:13 +0200
commit63057a08dcc2ee80f68ccd411239a51646eba295 (patch)
tree19e8352f44813d4466c266bac5880de198fa3052 /themes
parent14c59e09be6d886fbf00c7d244a35bda12c3cfdc (diff)
luci-theme-openwrt: work around cssmin bug breaking the minified CSS.
The cssmin utility incorrectly breaks up calc() expressions when minifying rules. Avoid the problem by trimming uneeded spaces. Fixes: #3801 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'themes')
-rw-r--r--themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
index 22f32ef7d..e9880a380 100644
--- a/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
+++ b/themes/luci-theme-openwrt/htdocs/luci-static/openwrt.org/cascade.css
@@ -393,7 +393,7 @@ div.hostinfo {
border: 1px solid #90c0e0;
background: #000 !important;
color: #90c0e0 !important;
- padding: calc(.125em - 1px) calc(.5em - 1px);
+ padding: calc(.125em-1px) calc(.5em-1px);
}
html #menubar a:link,