From 2fc9a7157727adbd1747e728dcc88290d22f8dd3 Mon Sep 17 00:00:00 2001 From: Bryce Date: Fri, 20 Oct 2023 22:23:47 -0700 Subject: [PATCH] vertical alignment --- resources/public/output.css | 8 ++++++++ src/clj/auto_ap/ssr/admin/transaction_rules.clj | 10 +++++----- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/resources/public/output.css b/resources/public/output.css index fc47979a..8df77b4b 100644 --- a/resources/public/output.css +++ b/resources/public/output.css @@ -1755,6 +1755,10 @@ input:checked + .toggle-bg { place-self: end; } +.self-start { + align-self: flex-start; +} + .justify-self-start { justify-self: start; } @@ -2208,6 +2212,10 @@ input:checked + .toggle-bg { vertical-align: baseline; } +.align-top { + vertical-align: top; +} + .text-2xl { font-size: 1.5rem; line-height: 2rem; diff --git a/src/clj/auto_ap/ssr/admin/transaction_rules.clj b/src/clj/auto_ap/ssr/admin/transaction_rules.clj index d7b0cc0d..34928a2b 100644 --- a/src/clj/auto_ap/ssr/admin/transaction_rules.clj +++ b/src/clj/auto_ap/ssr/admin/transaction_rules.clj @@ -402,11 +402,11 @@ :value (some-> (fc/field-value) (* 100 ) (long ))})))))) - (com/data-grid-cell - (com/a-icon-button - {"_" (hiccup/raw "on click halt the event then transition the closest 's opacity to 0 then remove closest ") - :href "#"} - svg/x)))) + (com/data-grid-cell {:class "align-top"} + (com/a-icon-button + {"_" (hiccup/raw "on click halt the event then transition the closest 's opacity to 0 then remove closest ") + :href "#"} + svg/x)))) ;; TODO dialog is no longer closeable (defn dialog* [& {:keys [ entity form-params form-errors]}]