diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 14:03:30 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2018-06-29 14:03:30 +0800 |
commit | 81ff99276bec5420fd3822925e63b6ed60510b1c (patch) | |
tree | cbc81d7e556dfedb2d329006c464710ccb8317d0 /packages/website/ts/components/wallet/wallet.tsx | |
parent | 172d2353dd7d2056d925e1a05d037ea8744c47da (diff) | |
download | dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.gz dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.bz2 dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.lz dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.xz dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.zst dexon-0x-contracts-81ff99276bec5420fd3822925e63b6ed60510b1c.zip |
Fix scrollbar bug
Diffstat (limited to 'packages/website/ts/components/wallet/wallet.tsx')
-rw-r--r-- | packages/website/ts/components/wallet/wallet.tsx | 2 |
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, |