From 5119fa2f7972534ac4634412f1963ab58e5ce74a Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 12:51:00 +0200 Subject: [PATCH] luci-theme-material: add css class button-row Signed-off-by: Florian Eckert --- .../htdocs/luci-static/material/cascade.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css index 5434e108b5..fdcb98eb5b 100644 --- a/themes/luci-theme-material/htdocs/luci-static/material/cascade.css +++ b/themes/luci-theme-material/htdocs/luci-static/material/cascade.css @@ -1749,6 +1749,19 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child { max-height: none; } +.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; height: 100vh; -- 2.30.2