mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 18:06:23 +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,7 +1,6 @@
|
||||||
.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
|
||||||
.card-title= title
|
.card-title= title
|
||||||
|
|
Loading…
Reference in a new issue