From 3162128e2fa0375a86a5c58a7fa1e226cd5dff75 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 12:51:24 +0200 Subject: [PATCH] luci-theme-openwrt: add css class button-row Signed-off-by: Florian Eckert --- .../htdocs/luci-static/openwrt.org/cascade.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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; }