aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/portal
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-04-24 12:45:05 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-05-05 02:04:58 +0800
commit14b29172b1713610c80ccf5b7390f7b445b0eb75 (patch)
tree186a653375ec82760d857bf7da33568bbf235526 /packages/website/ts/components/portal
parent58794fc8e9ac473154ead395452b8e43c10f5cd7 (diff)
downloaddexon-sol-tools-14b29172b1713610c80ccf5b7390f7b445b0eb75.tar.gz
dexon-sol-tools-14b29172b1713610c80ccf5b7390f7b445b0eb75.tar.zst
dexon-sol-tools-14b29172b1713610c80ccf5b7390f7b445b0eb75.zip
Add scrolling to relayer index
Diffstat (limited to 'packages/website/ts/components/portal')
-rw-r--r--packages/website/ts/components/portal/portal.tsx8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/website/ts/components/portal/portal.tsx b/packages/website/ts/components/portal/portal.tsx
index 8a9e89a72..6939d8905 100644
--- a/packages/website/ts/components/portal/portal.tsx
+++ b/packages/website/ts/components/portal/portal.tsx
@@ -62,6 +62,12 @@ const styles: Styles = {
body: {
height: `calc(100vh - ${TOP_BAR_HEIGHT}px)`,
},
+ scrollContainer: {
+ overflowZ: 'hidden',
+ height: `calc(100vh - ${TOP_BAR_HEIGHT}px)`,
+ WebkitOverflowScrolling: 'touch',
+ overflow: 'auto',
+ },
};
export class Portal extends React.Component<PortalProps, PortalState> {
@@ -165,7 +171,7 @@ export class Portal extends React.Component<PortalProps, PortalState> {
onToggleLedgerDialog={this._onToggleLedgerDialog.bind(this)}
/>
</div>
- <div className="flex-auto p3">
+ <div className="flex-auto px3" style={styles.scrollContainer}>
<RelayerIndex networkId={this.props.networkId} />
</div>
</div>