From 6221496f661a313bb844c770641fdb05b4fd763f Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 29 Jul 2018 09:47:32 -0500 Subject: [PATCH] Add proper padding for channel elements --- src/invidious/views/channel.ecr | 28 ++++++++++++--------------- src/invidious/views/subscriptions.ecr | 2 +- 2 files changed, 13 insertions(+), 17 deletions(-) diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 886ecc93..d5bd3121 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -2,7 +2,7 @@ <%= author %> - Invidious <% end %> -
+

<%= author %>

@@ -13,27 +13,23 @@
+

<% if user %> <% if subscriptions.includes? ucid %> -

- - Unsubscribe from <%= author %> - -

+ + Unsubscribe from <%= author %> + <% else %> -

- - Subscribe to <%= author %> - -

+ + Subscribe to <%= author %> + <% end %> <% else %> -

- - Login to subscribe to <%= author %> - -

+ + Login to subscribe to <%= author %> + <% end %> +

<% videos.each_slice(4) do |slice| %>
diff --git a/src/invidious/views/subscriptions.ecr b/src/invidious/views/subscriptions.ecr index 54d8be62..484603b9 100644 --- a/src/invidious/views/subscriptions.ecr +++ b/src/invidious/views/subscriptions.ecr @@ -2,7 +2,7 @@ Subscriptions - Invidious <% end %> -