From: Florian Eckert Date: Fri, 7 Jun 2024 10:51:24 +0000 (+0200) Subject: luci-theme-openwrt: add css class button-row X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3162128e2fa0375a86a5c58a7fa1e226cd5dff75;p=project%2Fluci.git luci-theme-openwrt: add css class button-row Signed-off-by: Florian Eckert --- 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 fbb53f9e99..6ef9d63e72 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 @@ -242,6 +242,19 @@ hr { overflow: auto; } +.modal .button-row { + display: flex; + justify-content: space-between; +} + +.modal .button-row > :not(:last-child) { + margin-right: .5em; +} + +.modal .button-row > :first-child { + margin-right: auto; +} + body.modal-overlay-active { overflow: hidden; }