diff --git a/stylesheets/_session_theme_dark_left_pane.scss b/stylesheets/_session_theme_dark_left_pane.scss index a8ced0678..ea77938fc 100644 --- a/stylesheets/_session_theme_dark_left_pane.scss +++ b/stylesheets/_session_theme_dark_left_pane.scss @@ -475,7 +475,7 @@ $session-compose-margin: 20px; span { padding: 5px 10px; border-radius: 50px; - @include session-dark-background-lighter; + background-color: #121212; color: $session-color-light-grey; border: 1px solid $session-color-dark-grey; } diff --git a/ts/components/session/ActionsPanel.tsx b/ts/components/session/ActionsPanel.tsx index d764f448a..d13fd42c1 100644 --- a/ts/components/session/ActionsPanel.tsx +++ b/ts/components/session/ActionsPanel.tsx @@ -40,38 +40,25 @@ const Section = ({ }) => { const handleClick = onSelect ? () => { - onSelect(type); + if(type !== SectionType.Profile) { + onSelect(type); + } } : undefined; if (type === SectionType.Profile) { - if (!isSelected) { - return ( - - ); - } else { - return ( - - ); - } - } + return ( + + ); +} let iconType: SessionIconType; switch (type) {