Browse Source

fix modifier keys

Yuki Takei 1 month ago
parent
commit
45d8fb07dd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      packages/core-styles/scss/helpers/_modifier-keys.scss

+ 4 - 4
packages/core-styles/scss/helpers/_modifier-keys.scss

@@ -1,23 +1,23 @@
 @mixin modifier-key {
 @mixin modifier-key {
-  .cmd-key.mac {
+  :global(.cmd-key.mac) {
     &::after {
     &::after {
       content: '⌘';
       content: '⌘';
     }
     }
   }
   }
 
 
-  .cmd-key.win {
+  :global(.cmd-key.win) {
     &::after {
     &::after {
       content: 'Ctrl';
       content: 'Ctrl';
     }
     }
   }
   }
 
 
-  .alt-key.mac {
+  :global(.alt-key.mac) {
     &::after {
     &::after {
       content: '⌥';
       content: '⌥';
     }
     }
   }
   }
 
 
-  .alt-key.win {
+  :global(.alt-key.win) {
     &::after {
     &::after {
       content: 'Alt';
       content: 'Alt';
     }
     }