diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index 4e5fabab28a..daa41e0ebfe 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -67,13 +67,13 @@ .cover-desc.cgray.mb-1.mb-sm-2 - unless @user.location.blank? .profile-link-holder.middle-dot-divider-sm.d-block.d-sm-inline.mb-1.mb-sm-0{ itemprop: 'address', itemscope: true, itemtype: 'https://schema.org/PostalAddress' } - = sprite_icon('location', css_class: 'vertical-align-sub fgray') - %span.vertical-align-middle{ itemprop: 'addressLocality' } + = sprite_icon('location', css_class: 'fgray') + %span{ itemprop: 'addressLocality' } = @user.location - unless work_information(@user).blank? .profile-link-holder.middle-dot-divider-sm.d-block.d-sm-inline - = sprite_icon('work', css_class: 'vertical-align-middle fgray') - %span.vertical-align-middle + = sprite_icon('work', css_class: 'fgray') + %span = work_information(@user, with_schema_markup: true) .cover-desc.cgray.mb-1.mb-sm-2 - unless @user.skype.blank? diff --git a/changelogs/unreleased/center-icons-text.yml b/changelogs/unreleased/center-icons-text.yml new file mode 100644 index 00000000000..092b018a9cc --- /dev/null +++ b/changelogs/unreleased/center-icons-text.yml @@ -0,0 +1,5 @@ +--- +title: Remove vertical-align-middle from user location and work in profile +merge_request: 58554 +author: Yogi (@yo) +type: changed