aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/wallet
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-29 14:03:30 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-29 14:03:30 +0800
commit81ff99276bec5420fd3822925e63b6ed60510b1c (patch)
treecbc81d7e556dfedb2d329006c464710ccb8317d0 /packages/website/ts/components/wallet
parent172d2353dd7d2056d925e1a05d037ea8744c47da (diff)
downloaddexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.gz
dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.zst
dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.zip
Fix scrollbar bug
Diffstat (limited to 'packages/website/ts/components/wallet')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index b316a093c..9c805e62e 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -274,7 +274,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
private _getBodyStyle(): React.CSSProperties {
return {
...styles.bodyInnerDiv,
- overflow: this.state.isHoveringSidebar ? 'auto' : 'hidden',
+ overflowY: this.state.isHoveringSidebar ? 'scroll' : 'hidden',
marginRight: this.state.isHoveringSidebar ? 0 : 4,
// TODO: make this completely responsive
maxHeight: this.props.screenWidth !== ScreenWidths.Sm ? 475 : undefined,