From 49abb7157bc9b8894ecb99b4f2076f7bce644bd7 Mon Sep 17 00:00:00 2001 From: Henriette Dinger Date: Tue, 28 May 2019 10:55:33 +0200 Subject: [PATCH] Add margin to user avatars in WP views --- app/assets/stylesheets/content/_user.sass | 3 ++- .../display-user-field-portal/user-field-portal.component.sass | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/content/_user.sass b/app/assets/stylesheets/content/_user.sass index e9b0a427ac..1989764c42 100644 --- a/app/assets/stylesheets/content/_user.sass +++ b/app/assets/stylesheets/content/_user.sass @@ -50,6 +50,7 @@ &.avatar-default line-height: $user-avatar-medium-height font-size: 13px + vertical-align: inherit .avatar-default display: inline-block @@ -62,7 +63,7 @@ cursor: inherit user-select: none -h1, h2, h3, h4, tr +h1, h2, h3, h4 .avatar, .avatar-mini, .avatar-medium vertical-align: middle margin-right: 7px diff --git a/frontend/src/app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal.component.sass b/frontend/src/app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal.component.sass index 99d6063491..9f48fdd314 100644 --- a/frontend/src/app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal.component.sass +++ b/frontend/src/app/modules/fields/display/display-portal/display-user-field-portal/user-field-portal.component.sass @@ -1,3 +1,6 @@ .-multi-line display: block margin-bottom: 2px + +user-avatar + margin-right: 5px