From: Jo-Philipp Wich <jo@mein.io>
Date: Wed, 18 Jul 2018 10:04:22 +0000 (+0200)
Subject: luci-theme-openwrt: fixes for page action button placement
X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5ea795a4b8bfd502724d27f9c02f46a671e27598;p=oweals%2Fluci.git

luci-theme-openwrt: fixes for page action button placement

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 68dae07225c44ca43aec7d4826ebc954d0c9ef10)
---

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 29e7827aa..bcdbb5646 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
@@ -837,15 +837,19 @@ div.cbi-optionals {
 	margin: 0 3px 0 0;
 }
 
-.cbi-page-actions > .cbi-button-link,
-.cbi-page-actions > form[method="get"]:first-child {
-	margin-right: auto;
+.cbi-page-actions > .cbi-button-save,
+.cbi-page-actions > .cbi-button-apply {
+	margin-left: auto;
 }
 
 *::-ms-backdrop,
-.cbi-page-actions > .cbi-button-link,
-.cbi-page-actions > form[method="get"]:first-child {
-	margin-right: 50%;
+.cbi-page-actions > .cbi-button-save,
+.cbi-page-actions > .cbi-button-apply {
+	margin-left: 50%;
+}
+
+.cbi-page-actions > .cbi-button-apply + .cbi-button-save {
+	margin-left: 3px;
 }
 
 .th[data-type="button"], .td[data-type="button"],