luci-theme-bootstrap: add css class button-row
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 7 Jun 2024 10:50:39 +0000 (12:50 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Tue, 9 Jul 2024 14:19:51 +0000 (16:19 +0200)
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
themes/luci-theme-bootstrap/htdocs/luci-static/bootstrap/cascade.css

index fb8a8509a5e4eb8d399037ccec9511c9ae84b1f7..cf59b12b56186c428dde2d0bc80b5b1afdea9c7d 100644 (file)
@@ -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;