prevent ban box from overflowing mobile screen (ugly)

This commit is contained in:
Luna D 2021-02-02 20:03:54 +01:00
parent 4a160e1772
commit 1dfc9d5eb6
No known key found for this signature in database
GPG key ID: 81AF416F2CC36FC8

View file

@ -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
td = b.generated_ban_id