From cfd33ab0d6ef7899ee334d79560d803d7b5ac64c Mon Sep 17 00:00:00 2001 From: Avior Date: Sun, 4 Apr 2021 23:01:28 +0200 Subject: [PATCH] Fixed Image in Button getting squished Signed-off-by: Avior --- src/dzeio/Button/Button.module.styl | 3 +++ src/dzeio/Button/index.tsx | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/dzeio/Button/Button.module.styl b/src/dzeio/Button/Button.module.styl index 7484105..7e125c9 100644 --- a/src/dzeio/Button/Button.module.styl +++ b/src/dzeio/Button/Button.module.styl @@ -172,3 +172,6 @@ btn($color, $theme) 100% transform rotate(365deg) + +.img + min-width 16px \ No newline at end of file diff --git a/src/dzeio/Button/index.tsx b/src/dzeio/Button/index.tsx index 60958c6..bc750e8 100644 --- a/src/dzeio/Button/index.tsx +++ b/src/dzeio/Button/index.tsx @@ -33,7 +33,7 @@ export default class Button extends React.Component { inner = ( <> {typeof Icon === 'string' ? ( - + ) : ( )}