From 06ec4bdd15cdd1e938ec1744784cd2993aed9809 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 5 May 2021 09:44:24 +0200 Subject: Fix miniature avatar size --- client/src/sass/include/_mixins.scss | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'client/src/sass/include/_mixins.scss') diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 6d1e37bb6..b2083e516 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -50,11 +50,14 @@ } } -@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) { -- cgit v1.2.3