diff options
| author | Omar Roth <omarroth@protonmail.com> | 2019-05-03 18:00:16 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@protonmail.com> | 2019-05-03 18:00:16 -0500 |
| commit | 570715100b893b53d3cad68f6907b49aa60fc071 (patch) | |
| tree | 6fdf15643b0739e6ff62adfa6ff60bfd44728945 | |
| parent | ad8750b40d7faab76548fb6501d1d52b7899d371 (diff) | |
| download | invidious-570715100b893b53d3cad68f6907b49aa60fc071.tar.gz invidious-570715100b893b53d3cad68f6907b49aa60fc071.tar.bz2 invidious-570715100b893b53d3cad68f6907b49aa60fc071.zip | |
Fix text size for premieres
| -rw-r--r-- | src/invidious/views/components/item.ecr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/invidious/views/components/item.ecr b/src/invidious/views/components/item.ecr index e9f03982..4a20de51 100644 --- a/src/invidious/views/components/item.ecr +++ b/src/invidious/views/components/item.ecr @@ -73,7 +73,7 @@ <h5 class="pure-g"> <% if item.responds_to?(:premiere_timestamp) && item.premiere_timestamp && item.premiere_timestamp.not_nil! > Time.now %> - <%= translate(locale, "Premieres in `x`", recode_date((item.premiere_timestamp.as(Time) - Time.now).ago, locale)) %></h5> + <div class="pure-u-2-3"><%= translate(locale, "Premieres in `x`", recode_date((item.premiere_timestamp.as(Time) - Time.now).ago, locale)) %></div> <% elsif Time.now - item.published > 1.minute %> <div class="pure-u-2-3"><%= translate(locale, "Shared `x` ago", recode_date(item.published, locale)) %></div> <% else %> @@ -122,7 +122,7 @@ <h5 class="pure-g"> <% if item.responds_to?(:premiere_timestamp) && item.premiere_timestamp && item.premiere_timestamp.not_nil! > Time.now %> - <%= translate(locale, "Premieres in `x`", recode_date((item.premiere_timestamp.as(Time) - Time.now).ago, locale)) %></h5> + <div class="pure-u-2-3"><%= translate(locale, "Premieres in `x`", recode_date((item.premiere_timestamp.as(Time) - Time.now).ago, locale)) %></div> <% elsif Time.now - item.published > 1.minute %> <div class="pure-u-2-3"><%= translate(locale, "Shared `x` ago", recode_date(item.published, locale)) %></div> <% else %> |
