diff options
author | fragosti <francesco.agosti93@gmail.com> | 2018-06-23 03:22:31 +0800 |
---|---|---|
committer | fragosti <francesco.agosti93@gmail.com> | 2018-06-23 03:22:31 +0800 |
commit | 7fb8b546f9b20719fcc9b10d77b9e07c0cef6025 (patch) | |
tree | 82dc99c033763e6b911704827a07702d8073c343 | |
parent | de2dcbae5a78d2b1103c171416e4af5794d0b183 (diff) | |
download | dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar.gz dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar.bz2 dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar.lz dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar.xz dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.tar.zst dexon-sol-tools-7fb8b546f9b20719fcc9b10d77b9e07c0cef6025.zip |
Remove unecessary position relative rules
-rw-r--r-- | packages/website/ts/components/portal/portal.tsx | 4 | ||||
-rw-r--r-- | packages/website/ts/components/relayer_index/relayer_grid_tile.tsx | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx index 9a725c742..c9f2b2633 100644 --- a/packages/website/ts/components/portal/portal.tsx +++ b/packages/website/ts/components/portal/portal.tsx @@ -226,7 +226,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { ? TokenVisibility.UNTRACKED : TokenVisibility.TRACKED; return ( - <Container position="relative"> + <Container> <DocumentTitle title="0x Portal DApp" /> <TopBar userAddress={this.props.userAddress} @@ -327,7 +327,7 @@ export class Portal extends React.Component<PortalProps, PortalState> { const marginBottom = isMobile ? '200px' : '15px'; return ( <div> - <Container position="relative"> + <Container> {isMobile && <Container marginBottom="15px">{startOnboarding}</Container>} <Container marginBottom={marginBottom}> <Wallet diff --git a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx index 5f4c6998c..18b069ae2 100644 --- a/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx +++ b/packages/website/ts/components/relayer_index/relayer_grid_tile.tsx @@ -21,6 +21,8 @@ export interface RelayerGridTileProps { const styles: Styles = { root: { boxSizing: 'border-box', + // All material UI components have position: relative + // which creates a new stacking context and makes z-index stuff impossible. So reset. position: 'static', }, innerDiv: { |