From: Florian Eckert Date: Fri, 7 Jun 2024 10:50:39 +0000 (+0200) Subject: luci-theme-bootstrap: add css class button-row X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=991549c238398fd135efeb3e2adf3952edbbded5;p=project%2Fluci.git luci-theme-bootstrap: add css class button-row Signed-off-by: Florian Eckert --- 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;