From 7c29f560d5e9b093209baae6613b07b2bb9a3f3e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 31 Mar 2020 15:25:27 +0200 Subject: [PATCH] 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 (cherry picked from commit 63057a08dcc2ee80f68ccd411239a51646eba295) --- .../htdocs/luci-static/openwrt.org/cascade.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- 2.25.1