From 46a0d213fb6d8dd3714d5efa4b17cbcdb30315ff Mon Sep 17 00:00:00 2001 From: Sean Yesmunt Date: Mon, 5 Oct 2020 14:04:31 -0400 Subject: [PATCH] fix channel profile img in header --- ui/component/header/view.jsx | 5 ++++- ui/scss/component/_header.scss | 17 +++++++++++++++++ 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/ui/component/header/view.jsx b/ui/component/header/view.jsx index 690b46ed1..d0f3fd689 100644 --- a/ui/component/header/view.jsx +++ b/ui/component/header/view.jsx @@ -312,7 +312,10 @@ const Header = (props: Props) => { { e.stopPropagation(); diff --git a/ui/scss/component/_header.scss b/ui/scss/component/_header.scss index b0af40022..0bfd21806 100644 --- a/ui/scss/component/_header.scss +++ b/ui/scss/component/_header.scss @@ -108,6 +108,23 @@ } } +.header__navigation-item--profile-pic { + .channel-thumbnail { + height: var(--height-button); + width: var(--height-button); + margin-right: 0; + border-radius: calc(var(--height-button) / 2); + + img { + border-radius: calc(var(--height-button) / 2); + } + } + + &:hover { + opacity: 0.7; + } +} + .header__navigation-item--balance { @extend .button--link; }