From d607fc24631808fc70ce9fb8ddc323d8f856f8ed Mon Sep 17 00:00:00 2001 From: kimsible Date: Mon, 3 Aug 2020 13:55:48 +0200 Subject: [PATCH] Fix regressions sub-menu titles on mobile-view --- .../my-account-video-channels.component.html | 9 ++++++--- .../my-account-video-channels.component.scss | 15 +++++++++++++++ .../my-account-subscriptions.component.html | 9 ++++++--- .../my-account-subscriptions.component.scss | 18 ++++++++++++++---- .../my-account-video-playlists.component.html | 9 ++++++--- .../my-account-video-playlists.component.scss | 12 ++++-------- .../my-account-videos.component.html | 9 ++++++--- .../my-account-videos.component.scss | 14 ++++++++++---- 8 files changed, 67 insertions(+), 28 deletions(-) diff --git a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html index f4ff32366..205d23cd5 100644 --- a/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html +++ b/client/src/app/+my-account/+my-account-video-channels/my-account-video-channels.component.html @@ -1,12 +1,15 @@ -

+

My channels {{ totalItems }} +

+
- + Clear filters
@@ -15,7 +18,7 @@ Create video channel - +
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 4ecb4f408..cbd999fbd 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 @@ -64,6 +64,10 @@ input[type=text] { top: 1px; } +.video-channels-header { + margin-bottom: 30px; +} + @media screen and (max-width: $small-view) { .video-channels-header { text-align: center; @@ -97,6 +101,17 @@ input[type=text] { } } +@media screen and (max-width: $mobile-view) { + .video-channels-header { + flex-direction: column; + + input[type=text] { + width: 100% !important; + margin-bottom: 12px; + } + } +} + @media screen and (min-width: breakpoint(lg)) { :host-context(.main-col:not(.expanded)) { .video-channel-buttons { diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html index 6cec7c0d5..6ab3826ba 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.html @@ -1,16 +1,19 @@ -

+

My subscriptions {{ pagination.totalItems }} +

+
- + Clear filters
- +
You don't have any subscriptions yet.
diff --git a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss index 884959070..5ead45dd8 100644 --- a/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss +++ b/client/src/app/+my-account/my-account-subscriptions/my-account-subscriptions.component.scss @@ -45,11 +45,11 @@ input[type=text] { } } -@media screen and (max-width: $small-view) { - .video-channels-header { - text-align: center; - } +.video-subscriptions-header { + margin-bottom: 30px; +} +@media screen and (max-width: $small-view) { .video-channel { .video-channel-info { padding-bottom: 10px; @@ -68,4 +68,14 @@ input[type=text] { } } +@media screen and (max-width: $mobile-view) { + .video-subscriptions-header { + flex-direction: column; + + input[type=text] { + width: 100% !important; + } + } +} + diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html index 3176bb8da..afcf6a084 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.html @@ -1,11 +1,14 @@ -

+

My playlists {{ pagination.totalItems }} +

+
- + Clear filters
@@ -14,7 +17,7 @@ Create playlist - +
diff --git a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss index ade28c70b..2b7c88246 100644 --- a/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss +++ b/client/src/app/+my-account/my-account-video-playlists/my-account-video-playlists.component.scss @@ -37,6 +37,10 @@ input[type=text] { } } +.video-playlists-header { + margin-bottom: 30px; +} + @media screen and (max-width: $small-view) { .video-playlists-header { text-align: center; @@ -62,14 +66,6 @@ input[type=text] { } } -@media only screen and (min-width: $mobile-view) and (max-width: $small-view) { - .video-playlists-header { - input[type=text] { - width: 42% !important; - } - } -} - @media screen and (max-width: $mobile-view) { .video-playlists-header { flex-direction: column; diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html index 779b42ab7..f2ed0ac99 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.html +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.html @@ -1,16 +1,19 @@ -

+

My videos {{ pagination.totalItems }} +

+
- + Clear filters
- +