From b45afe12f90c654aef8098e55bedfa81ca73b1f4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 26 May 2021 16:00:09 +0200 Subject: Fix UI overflows --- .../account-video-channels/account-video-channels.component.scss | 2 ++ client/src/app/+videos/+video-watch/video-watch.component.scss | 3 +++ .../shared/shared-user-subscription/subscribe-button.component.html | 2 +- client/src/sass/include/_actor.scss | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss index f9d097644..2dfb057e7 100644 --- a/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss +++ b/client/src/app/+accounts/account-video-channels/account-video-channels.component.scss @@ -36,6 +36,8 @@ } a { + @include peertube-word-wrap; + color: pvar(--mainForegroundColor); } diff --git a/client/src/app/+videos/+video-watch/video-watch.component.scss b/client/src/app/+videos/+video-watch/video-watch.component.scss index 301762695..6124090c9 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss @@ -146,6 +146,8 @@ $video-info-margin-left: 44px; } .video-info-name { + @include peertube-word-wrap; + margin-right: 30px; min-height: 40px; // Align with the action buttons font-size: 27px; @@ -173,6 +175,7 @@ $video-info-margin-left: 44px; a { @include disable-default-a-behaviour; + @include peertube-word-wrap; color: pvar(--mainForegroundColor); diff --git a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html b/client/src/app/shared/shared-user-subscription/subscribe-button.component.html index 75cfc918b..d8699ff69 100644 --- a/client/src/app/shared/shared-user-subscription/subscribe-button.component.html +++ b/client/src/app/shared/shared-user-subscription/subscribe-button.component.html @@ -40,7 +40,7 @@