mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 09:56:21 +00:00
fix: permitir que la imagen ocupe todo lo necesario
This commit is contained in:
parent
f23e451793
commit
d1274dbfd4
1 changed files with 1 additions and 2 deletions
|
@ -1,6 +1,5 @@
|
||||||
.card{ **local_assigns.except(:image, :description) }
|
.card{ **local_assigns.except(:image, :description) }
|
||||||
- if local_assigns[:image]
|
- if local_assigns[:image]
|
||||||
= render 'bootstrap/responsive' do
|
|
||||||
= image_tag url_for(local_assigns[:image]), alt: local_assigns[:description], class: 'img-fluid'
|
= image_tag url_for(local_assigns[:image]), alt: local_assigns[:description], class: 'img-fluid'
|
||||||
|
|
||||||
.card-body
|
.card-body
|
||||||
|
|
Loading…
Reference in a new issue