From: Chocobozzz Date: Mon, 16 Jul 2018 13:17:50 +0000 (+0200) Subject: Fix responsive in my channel/my videos pages X-Git-Tag: v1.0.0-beta.10.pre.1~63 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f2bbd1e1b1eb662184b00e59c210042e5b39499e;p=github%2FChocobozzz%2FPeerTube.git Fix responsive in my channel/my videos pages --- diff --git a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss index 56a637a82..f047bb411 100644 --- a/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss +++ b/client/src/app/+my-account/my-account-video-channels/my-account-video-channels.component.scss @@ -56,11 +56,19 @@ } @media screen and (max-width: 800px) { + .video-channels-header { + text-align: center; + } + .video-channel { flex-direction: column; height: auto; text-align: center; + .video-channel-names { + justify-content: center; + } + img { margin-right: 0; } diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss index 1f22aec71..65c0c8bb2 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.scss @@ -100,6 +100,10 @@ height: auto; text-align: center; + .video-info-name { + margin: auto; + } + input[type=checkbox] { display: none; } diff --git a/client/src/sass/include/_mixins.scss b/client/src/sass/include/_mixins.scss index 3904751c2..9f8346950 100644 --- a/client/src/sass/include/_mixins.scss +++ b/client/src/sass/include/_mixins.scss @@ -411,9 +411,11 @@ @include orange-button; .icon.icon-add { - @include icon(22px); + @include icon(20px); - margin-right: 3px; + position: relative; + top: -1px; + margin-right: 5px; background-image: url($imageUrl); } }