Merge pull request #1090 from Retrospring/fix/portrait-profile-avatar

Fix avatar being too large for profile card at portrait tablet size
This commit is contained in:
Karina Kwiatek 2023-02-18 20:21:44 +01:00 committed by GitHub
commit feb1450a72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -3,10 +3,10 @@
.profile__header-container
%img.profile__header-image{ src: @user.profile_header.url(:web) }
.row
.col-md-3.col-xs-12.col-sm-4
.col-lg-3.col-md-4.col-xs-12.col-sm-4
= render 'user/profile', user: @user
.d-none.d-sm-block= render 'shared/links'
.col-md-9.col-xs-12.col-sm-8
.col-lg-9.col-md-8.col-xs-12.col-sm-8
= render 'questionbox', user: @user
= render 'tabs/profile', user: @user
= yield