]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Move to sass @use
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index 0822e0ca64c55c92b4d02f74aba543fbd0c804d5..bf7504d91fd3779acdc1ad0729f2e7cb8f0b3148 100644 (file)
@@ -1,4 +1,4 @@
-@import '_variables';
+@use '_variables';
 
 @mixin disable-default-a-behaviour {
   &:hover,
     opacity: 0.7;
   }
 
-  @media screen and (max-width: $width) {
+  @media screen and (max-width: calc(#{$width} + 40px)) {
     width: 100%;
   }
 }
     width: 100%;
     height: 100%;
     top: 0;
+
     @content;
   }
 }