charlie 2 лет назад
Родитель
Сommit
9b4fcbba66
2 измененных файлов с 3 добавлено и 2 удалено
  1. 1 1
      src/main/frontend/components/block.cljs
  2. 2 1
      src/main/frontend/components/block.css

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

@@ -275,7 +275,7 @@
       (lightbox/preview-images! images))))
 
 (defonce *resizing-image? (atom false))
-(rum/defcs resizable-image <
+(rum/defcs ^:large-vars/data-var resizable-image <
   (rum/local nil ::size)
   {:will-unmount (fn [state]
                    (reset! *resizing-image? false)

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

@@ -100,8 +100,9 @@
 }
 
 .breadcrumb {
-  .asset-container img {
+  .asset-container > img {
     height: 18px;
+    width: unset !important;
   }
 }