From 305ed9022a45a9ae015e45f803ce454a27d02a1e Mon Sep 17 00:00:00 2001 From: Kimberley Cook Date: Wed, 6 Apr 2022 11:55:16 +0100 Subject: [PATCH] fix event sponsor alignment --- app/views/shared/_sponsors.html.haml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/views/shared/_sponsors.html.haml b/app/views/shared/_sponsors.html.haml index d28176247..ee40ce3a4 100644 --- a/app/views/shared/_sponsors.html.haml +++ b/app/views/shared/_sponsors.html.haml @@ -1,4 +1,4 @@ -.row.align-items-center +.row.d-flex.align-items-center.justify-content-center - sponsors.each do |sponsor| - .col-4.col-md-3.col-lg-2.mt-4.d-flex.justify-content-center - = link_to image_tag(sponsor.avatar, class: 'small-image mw-100', alt: sponsor.name), sponsor.website, title: sponsor.name, class: 'd-inline-block border-0' + .col-4.col-md-3.col-lg-2.mt-4 + = link_to image_tag(sponsor.avatar, class: '', alt: sponsor.name), sponsor.website, title: sponsor.name, class: 'border-0 mw-100'