From a63d850744f3b0fe9c20be5516955a18746b851b Mon Sep 17 00:00:00 2001 From: SleepingFox Date: Fri, 10 Apr 2020 20:24:23 -0400 Subject: [PATCH] Buttons no longer tall --- ui/component/button/view.jsx | 43 ++++++++++++++++++++++-------------- 1 file changed, 26 insertions(+), 17 deletions(-) diff --git a/ui/component/button/view.jsx b/ui/component/button/view.jsx index a114c755d..3165beaf8 100644 --- a/ui/component/button/view.jsx +++ b/ui/component/button/view.jsx @@ -91,34 +91,43 @@ const Button = forwardRef((props: Props, ref: any) => { const size = iconSize || (!label && !children) ? 18 : undefined; // Fall back to default const content = ( -
- {/* style={{ border: `1px solid white` }} */} -
- {icon && } -
- { -
- - {largestLabel || label} - {label && ( - //
+ + {icon && } + + {label && ( +
+
+ + {largestLabel || label}
{label}
- )} -
+ +
- } + )} + {children && children} {iconRight && }