From 4e4e74cbcae640af55e6552ca9f9260a3c87260b Mon Sep 17 00:00:00 2001 From: defclass Date: Mon, 7 Dec 2020 21:14:54 +0800 Subject: [PATCH] fix(css): update css --- src/main/frontend/components/publishing.cljs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/frontend/components/publishing.cljs b/src/main/frontend/components/publishing.cljs index 9f1afab155..8f821402b9 100644 --- a/src/main/frontend/components/publishing.cljs +++ b/src/main/frontend/components/publishing.cljs @@ -104,13 +104,6 @@ (notification/show! "Failed to updated project name." :failed)))))) :background "green")] - [:div.cp__publishing-pj-bt - (ui/button - (t :publishing/cancel) - :on-click (fn [e] - (util/stop e) - (reset! editor-state :display)) - :background "pink")] [:div.cp__publishing-pj-bt (ui/button (t :publishing/delete) @@ -130,7 +123,14 @@ (page-handler/page-add-properties! page-name {:published false}))) (state/remove-current-project) (notification/show! "Delete project successful." :success)))))) - :background "red")]]))) + :background "pink")] + + [:div.cp__publishing-pj-bt + (ui/button + (t :publishing/cancel) + :on-click (fn [e] + (util/stop e) + (reset! editor-state :display)))]]))) (rum/defcs my-publishing < rum/reactive db-mixins/query