5
0
Fork 0
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:
f 2024-06-26 14:47:30 -03:00
parent f23e451793
commit d1274dbfd4
No known key found for this signature in database

View file

@ -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