Explorar el Código

fix modifier keys

Yuki Takei hace 1 mes
padre
commit
45d8fb07dd
Se han modificado 1 ficheros con 4 adiciones y 4 borrados
  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 {
-  .cmd-key.mac {
+  :global(.cmd-key.mac) {
     &::after {
       content: '⌘';
     }
   }
 
-  .cmd-key.win {
+  :global(.cmd-key.win) {
     &::after {
       content: 'Ctrl';
     }
   }
 
-  .alt-key.mac {
+  :global(.alt-key.mac) {
     &::after {
       content: '⌥';
     }
   }
 
-  .alt-key.win {
+  :global(.alt-key.win) {
     &::after {
       content: 'Alt';
     }