+@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: math.div(($video-img-width - $image-size), 2); // So we have the same width than the video miniature
+
+ @include actor-avatar-size($image-size);
+
+ margin: 0 $margin-size 0 $margin-size;
+}