From 3aa7eae0f3373843499896cc975c1115390466db Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Wed, 14 Apr 2021 17:08:22 +0100 Subject: [PATCH] Update button styles --- src/components/Button/styles.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/Button/styles.ts b/src/components/Button/styles.ts index c6578e9..509e503 100644 --- a/src/components/Button/styles.ts +++ b/src/components/Button/styles.ts @@ -33,6 +33,11 @@ export const Wrapper = styled.button` return ''; }} + .icon { + display: inline-flex; + align-items: center; + } + .icon.left { margin-right: 0.5rem; } @@ -111,14 +116,6 @@ export const Wrapper = styled.button` .icon svg path { stroke: #262628; } - - &:hover { - color: ${theme.colors.white.main}; - - .icon svg path { - stroke: ${theme.colors.white.main}; - } - } `; case 'outlined': return css`