From ae67e176786b4c584f2bdefdac082edf31647be6 Mon Sep 17 00:00:00 2001 From: Alex Timofeev Date: Wed, 21 Oct 2020 17:11:41 +0700 Subject: [PATCH] Fill organization userpic background fully to avoid empty corners (#10944) * Fill organization userpic background fully to avoid empty corners * Reset `.crayons-logo` ::after pseudo element content So the barely visible border is hidden for profiles --- app/assets/stylesheets/views/profile.scss | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/views/profile.scss b/app/assets/stylesheets/views/profile.scss index d756d80e7..42cb187c1 100644 --- a/app/assets/stylesheets/views/profile.scss +++ b/app/assets/stylesheets/views/profile.scss @@ -101,10 +101,15 @@ .crayons-logo { width: var(--su-9); height: var(--su-9); - border: var(--su-1) solid var(--profile-brand-color); + background-color: var(--profile-brand-color); + padding: var(--su-1); + + &::after { + content: none; + } @media (min-width: $breakpoint-m) { - border-width: var(--su-2); + padding: var(--su-2); width: var(--su-10); height: var(--su-10); }