Yuki Takei 1 ヶ月 前
コミット
5b67c2f1b4

+ 4 - 10
apps/app/src/styles/mixins/_editing.scss

@@ -9,12 +9,8 @@
  * outputs: .layout-root.editing .component-class_LOCAL_ID { visibility: hidden; }
  */
 @mixin at-editing() {
-  :global {
-    .layout-root.editing {
-      :local {
-        @content;
-      }
-    }
+  @at-root :global(.layout-root.editing) #{&} {
+    @content;
   }
 }
 
@@ -30,9 +26,7 @@
  */
 
 @mixin with-editing() {
-  &:global {
-    &.layout-root.editing {
-      @content;
-    }
+  &:global(.layout-root.editing) {
+    @content;
   }
 }

+ 0 - 14
apps/app/src/styles/mixins/_share-link.scss

@@ -3,17 +3,3 @@
     @content;
   }
 }
-
-@mixin share-link-for-module($isContentGlobal: false) {
-  :global {
-    .layout-root.share-link {
-      @if $isContentGlobal {
-        @content;
-      } @else {
-        :local {
-          @content;
-        }
-      }
-    }
-  }
-}