Skip to content

Commit

Permalink
Add resizer
Browse files Browse the repository at this point in the history
  • Loading branch information
Calyhre committed May 31, 2017
1 parent a9f4ba4 commit 963f17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/games/index.slim
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ table.table.table-responsive
tr.game
- if index.zero?
td.game--cover-url rowspan=games.count
= cover ? image_tag(cover, style: 'max-width:120px;max-height:120px;', class: 'rounded mx-auto d-block', title: 'wat') : nil
= cover ? image_tag("https://assets.calyh.re/resize?url=#{cover}", style: 'max-width:120px;max-height:120px;', class: 'rounded mx-auto d-block', title: 'wat') : nil
td.game--code rowspan=games.count = game.game_code
td.game--region = game.region
td.game--title.text-overflow style="width:100%;max-width:0" title=games.first.title = game.title
Expand Down

0 comments on commit 963f17e

Please sign in to comment.