aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
authorEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 22:51:27 +0800
committerEzekiel Aquino <ezekiel@bakkenbaeck.no>2018-11-29 22:51:27 +0800
commitb461147389537b4808c60bcd3206e6dfce76f017 (patch)
treea049f5300558725ba15db774ec221a189bcf1fa0 /packages/website/ts/@next/components
parent1d0d4ca147881b189b9da54a0055e1a0526c9756 (diff)
downloaddexon-0x-contracts-b461147389537b4808c60bcd3206e6dfce76f017.tar.gz
dexon-0x-contracts-b461147389537b4808c60bcd3206e6dfce76f017.tar.zst
dexon-0x-contracts-b461147389537b4808c60bcd3206e6dfce76f017.zip
Adds buttonWrapper
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/button.tsx10
1 files changed, 10 insertions, 0 deletions
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;