From 1dfc9d5eb6d41c30e9a1ce5333ead96166addfe2 Mon Sep 17 00:00:00 2001 From: Luna D Date: Tue, 2 Feb 2021 20:03:54 +0100 Subject: [PATCH] prevent ban box from overflowing mobile screen (ugly) --- lib/philomena_web/templates/ban/_bans.html.slime | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/philomena_web/templates/ban/_bans.html.slime b/lib/philomena_web/templates/ban/_bans.html.slime index d0002835..62a694cb 100644 --- a/lib/philomena_web/templates/ban/_bans.html.slime +++ b/lib/philomena_web/templates/ban/_bans.html.slime @@ -3,7 +3,7 @@ table.table tr th Ban Enacted th Ban Expires - th Duration + th.hide-mobile Duration th Active? th Reason th Ban ID @@ -12,10 +12,10 @@ table.table tr td = pretty_time b.created_at td = pretty_time b.valid_until - td = distance_of_time_in_words b.created_at, b.valid_until + td.hide-mobile = distance_of_time_in_words b.created_at, b.valid_until = if active?(b) do td.success Yes - else td.danger No td = b.reason - td = b.generated_ban_id \ No newline at end of file + td = b.generated_ban_id