From 130982347384849c3f874e0ce3cba1de915e1307 Mon Sep 17 00:00:00 2001 From: Gabriel Giovanini Date: Sun, 23 Jun 2019 14:57:04 +0200 Subject: Update to layout and clean up a bit --- src/genpass/core.cljs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/genpass/core.cljs b/src/genpass/core.cljs index 1e71f76..6ae0f4a 100644 --- a/src/genpass/core.cljs +++ b/src/genpass/core.cljs @@ -6,14 +6,18 @@ (def password (r/atom (genpwd))) (defn main-section [] - [:div.columns>div.column + [:div [:div.field>div.control>input.input.is-primary {:type "text" :value @password}] - [:div.field>div.control>input.button.is-primary - {:value "Generate" - :type "button" - :on-click #(reset! password (genpwd))}]]) + [:div.field.is-grouped + [:div.control>input.button.is-primary + {:value "Generate" + :type "button" + :on-click #(reset! password (genpwd))}] + [:div.control>input.button.is-primary.is-success + {:value "Copy" + :type "button"}]]]) (defn home-page [] [:div -- cgit v1.2.3