aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/src/components/ui/overlay.tsx
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-11-09 07:29:18 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-11-09 07:29:18 +0800
commit15a12cfa2288a728fe2947741447b25cb2e0f5b6 (patch)
tree5443c106777f05760e16da7335ac18a4ef689280 /packages/instant/src/components/ui/overlay.tsx
parent27ea271842c55cd09546c6bbf5b1c8d635666526 (diff)
downloaddexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar.gz
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar.bz2
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar.lz
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar.xz
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.tar.zst
dexon-0x-contracts-15a12cfa2288a728fe2947741447b25cb2e0f5b6.zip
fix: various style issues
Diffstat (limited to 'packages/instant/src/components/ui/overlay.tsx')
-rw-r--r--packages/instant/src/components/ui/overlay.tsx16
1 files changed, 9 insertions, 7 deletions
diff --git a/packages/instant/src/components/ui/overlay.tsx b/packages/instant/src/components/ui/overlay.tsx
index 7c941d294..c5f55f9c0 100644
--- a/packages/instant/src/components/ui/overlay.tsx
+++ b/packages/instant/src/components/ui/overlay.tsx
@@ -12,13 +12,15 @@ export const Overlay =
styled.div <
OverlayProps >
`
- position: fixed;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: ${props => props.zIndex}
- background-color: ${props => props.backgroundColor};
+ && {
+ position: fixed;
+ top: 0;
+ right: 0;
+ bottom: 0;
+ left: 0;
+ z-index: ${props => props.zIndex}
+ background-color: ${props => props.backgroundColor};
+ }
`;
Overlay.defaultProps = {