]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/sass/include/_mixins.scss
Fix miniature avatar size
[github/Chocobozzz/PeerTube.git] / client / src / sass / include / _mixins.scss
index 6d1e37bb6145ce67ad0506d077d9f0cf13b212dc..b2083e51653d3445e4745e062f22178cd43a7536 100644 (file)
   }
 }
 
-@mixin peertube-word-wrap {
+@mixin peertube-word-wrap ($with-hyphen: true) {
   word-break: break-word;
   word-wrap: break-word;
   overflow-wrap: break-word;
-  hyphens: auto;
+
+  @if $with-hyphen {
+    hyphens: auto;
+  }
 }
 
 @mixin apply-svg-color ($color) {