aboutsummaryrefslogtreecommitdiffstats
path: root/packages
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
parent172d2353dd7d2056d925e1a05d037ea8744c47da (diff)
downloaddexon-sol-tools-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.gz
dexon-sol-tools-81ff99276bec5420fd3822925e63b6ed60510b1c.tar.zst
dexon-sol-tools-81ff99276bec5420fd3822925e63b6ed60510b1c.zip
Fix scrollbar bug
Diffstat (limited to 'packages')
-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,