Browse Source

fix(css): update css

defclass 5 years ago
parent
commit
4e4e74cbca
1 changed files with 8 additions and 8 deletions
  1. 8 8
      src/main/frontend/components/publishing.cljs

+ 8 - 8
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