From b461147389537b4808c60bcd3206e6dfce76f017 Mon Sep 17 00:00:00 2001
From: Ezekiel Aquino <ezekiel@bakkenbaeck.no>
Date: Thu, 29 Nov 2018 15:51:27 +0100
Subject: Adds buttonWrapper

---
 packages/website/ts/@next/components/button.tsx | 10 ++++++++++
 1 file changed, 10 insertions(+)

(limited to 'packages/website/ts/@next/components/button.tsx')

diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index f69589373..39e30105a 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -18,6 +18,16 @@ export const Button: React.StatelessComponent<ButtonInterface> = props => {
     return <Component {...props}>{ props.children }</Component>;
 };
 
+// Added this, & + & doesnt really work since we switch with element types...
+export const ButtonWrap = styled.div`
+  button + button,
+  a + a,
+  a + button,
+  button + a {
+    margin-left: 10px;
+  }
+`;
+
 const StyledButton = styled.button<ButtonInterface>`
     appearance: none;
     border: 0;
-- 
cgit 

