Browse Source

fix: add ls-block container name

Tienson Qin 5 tháng trước cách đây
mục cha
commit
fcc7316c9f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/main/frontend/components/block.css

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

@@ -541,6 +541,7 @@
 .ls-block {
   @apply flex-1 relative py-0.5 transition-[background-color] mx-auto;
   container-type: inline-size;
+  container-name: ls-block;
 
   &.selected {
     @apply rounded;
@@ -568,7 +569,7 @@
     }
 }
 
-@container (max-width: 370) {
+@container ls-block (max-width: 430px) {
     .ls-properties-area {
         display: none;
     }