From 725b9d2c484c2d93b22a421d1c434b07bfba3e35 Mon Sep 17 00:00:00 2001 From: rramiachraf <51409801+rramiachraf@users.noreply.github.com> Date: Wed, 15 Mar 2023 15:38:30 +0100 Subject: [PATCH 1/4] Tweak channel page layout --- src/components/ChannelPage.vue | 72 ++++++++++++++++++++-------------- 1 file changed, 42 insertions(+), 30 deletions(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 46d161f9..f78c9de1 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -2,38 +2,49 @@ -
- -

- -

+
+
+ +
+

+ +

+
+ +
+ + + + + + +
+
+ -

- -

- - - - - - - +
+ + + +
@@ -84,6 +95,7 @@ export default { tabs: [], selectedTab: 0, contentItems: [], + fullDescription: false, }; }, mounted() { From 7e173e6c12a4c33a13a865f8436af6439c50e0bd Mon Sep 17 00:00:00 2001 From: rramiachraf <51409801+rramiachraf@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:27:52 +0100 Subject: [PATCH 2/4] Fix small banner on mobile devices and localize `show more`/`show less` --- src/components/ChannelPage.vue | 11 +++++++---- src/locales/en.json | 4 +++- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index f78c9de1..24155b96 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -2,8 +2,8 @@ - -
+ +
@@ -41,8 +41,11 @@
-
diff --git a/src/locales/en.json b/src/locales/en.json index 6ddfab97..9575915c 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -127,7 +127,9 @@ "no_valid_playlists": "The file doesn't contain valid playlists!", "with_playlist": "Share with playlist", "bookmark_playlist": "Bookmark", - "playlist_bookmarked": "Bookmarked" + "playlist_bookmarked": "Bookmarked", + "show_more": "Show more", + "show_less": "Show less" }, "comment": { "pinned_by": "Pinned by {author}", From d9e4192de44a027abec1fdf10eeeac5c0f455e47 Mon Sep 17 00:00:00 2001 From: rramiachraf <51409801+rramiachraf@users.noreply.github.com> Date: Thu, 16 Mar 2023 00:38:29 +0100 Subject: [PATCH 3/4] Decrease margin and padding from tabs and description --- src/components/ChannelPage.vue | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/components/ChannelPage.vue b/src/components/ChannelPage.vue index 24155b96..1963090b 100644 --- a/src/components/ChannelPage.vue +++ b/src/components/ChannelPage.vue @@ -2,7 +2,12 @@ - +
@@ -38,7 +43,7 @@
-
+
-
+