mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
prevent ban box from overflowing mobile screen (ugly)
This commit is contained in:
parent
4a160e1772
commit
1dfc9d5eb6
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue