Răsfoiți Sursa

enhance(ux): resizeable for the narrow width image

charlie 11 luni în urmă
părinte
comite
76786a9584
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      src/main/frontend/components/block.cljs

+ 2 - 1
src/main/frontend/components/block.cljs

@@ -411,7 +411,8 @@
                  (reset! *resizing-image? true))
                :move
                (let [width' (+ @*width dx)]
-                 (when (> width' 120)
+                 (when (or (> width' 60)
+                         (not (neg? dx)))
                    (reset! *width width')))
                :end
                (let [width' @*width]