From 551594e4f0ee8ad238d0161f5580a19b9f24bfd0 Mon Sep 17 00:00:00 2001 From: syeopite Date: Mon, 29 Mar 2021 11:00:40 -0700 Subject: [PATCH] Use purecss menus for channel tabs (cherry picked from commit be6df4e855d182ca5f3c21334bc3e5d1a93667e1) --- src/invidious/views/channel.ecr | 48 +++++++++++++++++++-------------- 1 file changed, 28 insertions(+), 20 deletions(-) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 7f797e37..e0e98264 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -43,26 +43,34 @@
- <%= translate(locale, "View channel on YouTube") %> - - <% if !channel.auto_generated %> -
- <%= translate(locale, "Videos") %> -
- <% end %> -
- <% if channel.auto_generated %> - <%= translate(locale, "Playlists") %> - <% else %> - <%= translate(locale, "Playlists") %> - <% end %> -
-
- <% if channel.tabs.includes? "community" %> - <%= translate(locale, "Community") %> - <% end %> + + +
+ + <% if !channel.auto_generated %> +
  • + + <%= translate(locale, "Videos") %> + +
  • + <% end %> +
  • + <% if channel.auto_generated %> + <%= translate(locale, "Playlists") %> + <% else %> + + <%= translate(locale, "Playlists") %> + + <% end %> +
  • +
  • + <% if channel.tabs.includes? "community" %> + + <%= translate(locale, "Community") %> + + <% end %> +
  • +