From 991549c238398fd135efeb3e2adf3952edbbded5 Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 12:50:39 +0200 Subject: luci-theme-bootstrap: add css class button-row Signed-off-by: Florian Eckert --- .../htdocs/luci-static/bootstrap/cascade.css | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css') diff --git a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css index fb8a8509a5..cf59b12b56 100644 --- a/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css +++ b/themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css @@ -1394,6 +1394,19 @@ footer ul.breadcrumb { width: 100%; } +.modal > .button-row { + display: flex; + justify-content: space-between; +} + +.modal > .button-row > button:not(:last-of-type) { + margin-right: .5em; +} + +.modal > .button-row > button:first-of-type { + margin-right: auto; +} + body.modal-overlay-active { overflow: hidden; height: 100vh; -- cgit v1.2.3