From d20a4a8bfcbad59efcb7570744e97e755e25e7c0 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sun, 14 Apr 2019 17:04:52 -0500 Subject: [PATCH] Fix grid size for smaller devices --- assets/css/lighttheme.css | 2 +- src/invidious/views/channel.ecr | 6 +++--- src/invidious/views/history.ecr | 6 +++--- src/invidious/views/login.ecr | 6 +++--- src/invidious/views/playlist.ecr | 6 +++--- src/invidious/views/playlists.ecr | 2 +- src/invidious/views/search.ecr | 6 +++--- src/invidious/views/subscriptions.ecr | 6 +++--- src/invidious/views/watch.ecr | 6 +++--- 9 files changed, 23 insertions(+), 23 deletions(-) diff --git a/assets/css/lighttheme.css b/assets/css/lighttheme.css index b28ef0ee..73706bb7 100644 --- a/assets/css/lighttheme.css +++ b/assets/css/lighttheme.css @@ -10,7 +10,7 @@ a { /* All links that do not fit with the default color goes here */ a:not([data-id]) > .icon, -.pure-u-md-1-5 > .h-box > a[href^="/watch?"], +.pure-u-lg-1-5 > .h-box > a[href^="/watch?"], .playlist-restricted > ol > li > a { color: #303030; } diff --git a/src/invidious/views/channel.ecr b/src/invidious/views/channel.ecr index 746ffcde..d52c01ca 100644 --- a/src/invidious/views/channel.ecr +++ b/src/invidious/views/channel.ecr @@ -67,15 +67,15 @@
-
+ -
-
+
+
<% if count == 60 %> &sort_by=<%= sort_by %><% end %>"> <%= translate(locale, "Next page") %> diff --git a/src/invidious/views/history.ecr b/src/invidious/views/history.ecr index 017f5eae..9be40a0d 100644 --- a/src/invidious/views/history.ecr +++ b/src/invidious/views/history.ecr @@ -72,15 +72,15 @@ function mark_unwatched(target) {
-
+ -
-
+
+
<% if watched.size >= limit %> <%= translate(locale, "Next page") %> diff --git a/src/invidious/views/login.ecr b/src/invidious/views/login.ecr index 82e9396c..b26aa373 100644 --- a/src/invidious/views/login.ecr +++ b/src/invidious/views/login.ecr @@ -3,8 +3,8 @@ <% end %>
-
-
+
+
@@ -112,5 +112,5 @@ <% end %>
-
+
diff --git a/src/invidious/views/playlist.ecr b/src/invidious/views/playlist.ecr index 98da42dc..6bd0dc9e 100644 --- a/src/invidious/views/playlist.ecr +++ b/src/invidious/views/playlist.ecr @@ -34,15 +34,15 @@
-
+ -
-
+
+
<% if videos.size == 100 %> <%= translate(locale, "Next page") %> diff --git a/src/invidious/views/playlists.ecr b/src/invidious/views/playlists.ecr index 3f661494..ee7918e7 100644 --- a/src/invidious/views/playlists.ecr +++ b/src/invidious/views/playlists.ecr @@ -65,7 +65,7 @@