From 207769d164a7a17d2a951d5d40688d3e454496d1 Mon Sep 17 00:00:00 2001 From: Andreas Nedbal Date: Thu, 7 May 2020 02:30:50 +0200 Subject: [PATCH] Fix layout of profile header in profile settings --- app/views/settings/_profile.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/views/settings/_profile.haml b/app/views/settings/_profile.haml index b9a10692..1dcd3cda 100644 --- a/app/views/settings/_profile.haml +++ b/app/views/settings/_profile.haml @@ -21,10 +21,10 @@ %button#cropper-zoom-in.btn.btn-inverse{type: :button} %i.fa.fa-search-plus - .media#profile-header-media - .pull-left - %img.mr-3{src: current_user.profile_header.url(:mobile)} - .media-body + .row.mb-2#profile-header-media + .col + %img.mw-100.mr-3{src: current_user.profile_header.url(:mobile)} + .col-xs-12.mt-3.mt-sm-0.pl-3.pr-3 = f.file_field :profile_header, label: t('views.settings.profile.header') .row#profile-header-crop-controls{style: 'display: none;'}