]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+search/search.component.scss
Hide schedule privacy if private does not exist
[github/Chocobozzz/PeerTube.git] / client / src / app / +search / search.component.scss
index 3603c39818a59344d8edc7b1fd66abbdb9357832..fca704d27762a3d84239216418e1e14465938bb1 100644 (file)
@@ -1,9 +1,10 @@
-@use '_variables';
-@use '_mixins';
+@use 'sass:math';
+@use '_variables' as *;
+@use '_mixins' as *;
 
 @mixin build-channel-img-size ($video-img-width) {
   $image-size: min(130px, $video-img-width);
-  $margin-size: ($video-img-width - $image-size) / 2; // So we have the same width than the video miniature
+  $margin-size: math.div(($video-img-width - $image-size), 2); // So we have the same width than the video miniature
 
   @include actor-avatar-size($image-size);