Update button styles

This commit is contained in:
Hazem Krimi
2021-04-14 17:08:22 +01:00
parent b784a10042
commit 3aa7eae0f3
+5 -8
View File
@@ -33,6 +33,11 @@ export const Wrapper = styled.button<WrapperProps>`
return ''; return '';
}} }}
.icon {
display: inline-flex;
align-items: center;
}
.icon.left { .icon.left {
margin-right: 0.5rem; margin-right: 0.5rem;
} }
@@ -111,14 +116,6 @@ export const Wrapper = styled.button<WrapperProps>`
.icon svg path { .icon svg path {
stroke: #262628; stroke: #262628;
} }
&:hover {
color: ${theme.colors.white.main};
.icon svg path {
stroke: ${theme.colors.white.main};
}
}
`; `;
case 'outlined': case 'outlined':
return css` return css`