aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/ui
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-22 04:50:58 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-22 08:40:33 +0800
commit3df58827119b2dd70a1a41ceccd304b6055500b8 (patch)
treec9d91982cc5cda9905304d95378bbf442bc8a587 /packages/website/ts/components/ui
parentb6765b849cec691418bd0ccb38c584a146d97b19 (diff)
downloaddexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar.gz
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar.bz2
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar.lz
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar.xz
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.tar.zst
dexon-sol-tools-3df58827119b2dd70a1a41ceccd304b6055500b8.zip
Remove Background component
Diffstat (limited to 'packages/website/ts/components/ui')
-rw-r--r--packages/website/ts/components/ui/background.tsx24
-rw-r--r--packages/website/ts/components/ui/container.tsx1
2 files changed, 1 insertions, 24 deletions
diff --git a/packages/website/ts/components/ui/background.tsx b/packages/website/ts/components/ui/background.tsx
deleted file mode 100644
index 808792a41..000000000
--- a/packages/website/ts/components/ui/background.tsx
+++ /dev/null
@@ -1,24 +0,0 @@
-import { colors } from '@0xproject/react-shared';
-import * as React from 'react';
-import { styled } from 'ts/style/theme';
-import { zIndex } from 'ts/style/z_index';
-
-export interface BackgroundProps {
- color?: string;
-}
-
-const PlainBackground: React.StatelessComponent<BackgroundProps> = props => <div {...props} />;
-
-export const Background = styled(PlainBackground)`
- background-color: ${props => props.color};
- height: 100vh;
- width: 100vw;
- position: fixed;
- z-index: ${zIndex.background};
-`;
-
-Background.defaultProps = {
- color: colors.lightestGrey,
-};
-
-Background.displayName = 'Background';
diff --git a/packages/website/ts/components/ui/container.tsx b/packages/website/ts/components/ui/container.tsx
index 90aec0e7c..a747ef01f 100644
--- a/packages/website/ts/components/ui/container.tsx
+++ b/packages/website/ts/components/ui/container.tsx
@@ -15,6 +15,7 @@ export interface ContainerProps {
borderRadius?: StringOrNum;
maxWidth?: StringOrNum;
width?: StringOrNum;
+ minHeight?: StringOrNum;
isHidden?: boolean;
className?: string;
position?: 'absolute' | 'fixed' | 'relative' | 'unset';