From d37b392514a1f54255a828276f349e4d727432cc Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Tue, 14 Jan 2020 16:33:32 +1100 Subject: [PATCH] make session-icon-button opacity hover change on padding too --- stylesheets/_session.scss | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/stylesheets/_session.scss b/stylesheets/_session.scss index 4cf71f37f..acf553aba 100644 --- a/stylesheets/_session.scss +++ b/stylesheets/_session.scss @@ -379,20 +379,14 @@ $session_message-container-border-radius: 5px; cursor: pointer; display: inline-block; position: relative; - - svg { - transition: opacity $session-transition-duration; - opacity: 0.4; - - &:hover { - opacity: 1; - } + opacity: 0.4; + &:hover { + opacity: 1; } + transition: opacity $session-transition-duration; &.no-opacity { - svg { - opacity: 1; - } + opacity: 1; } &.small.padded { @@ -411,8 +405,8 @@ $session_message-container-border-radius: 5px; position: absolute; font-size: 12px; font-family: $session-font-family; - top: -10px; - right: -10px; + top: 20px; + right: 20px; width: 20px; height: 20px; padding: 3px;