Browse Source

fix: add ls-block container name

Tienson Qin 5 months ago
parent
commit
fcc7316c9f
1 changed files with 2 additions and 1 deletions
  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;
     }