luci-theme-openwrt: add css class button-row
authorFlorian Eckert <fe@dev.tdt.de>
Fri, 7 Jun 2024 10:51:24 +0000 (12:51 +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-openwrt/htdocs/luci-static/openwrt.org/cascade.css

index fbb53f9e9939290bd16cb543b0b23476c1709ba9..6ef9d63e72e3aa8e861f69076a96a300040546f1 100644 (file)
@@ -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;
 }