aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-06-28 02:00:39 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-06-29 02:50:08 +0800
commit78333b3026c8e0a13770bfab2341a17d5163592a (patch)
tree9773c2a045e6c4517fb0ba5864999f416dd74c22 /packages/website/ts
parent1ca182e741fbdff4cd4df5877de18174b83a532b (diff)
downloaddexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar.gz
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar.bz2
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar.lz
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar.xz
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.tar.zst
dexon-sol-tools-78333b3026c8e0a13770bfab2341a17d5163592a.zip
Change wallet margin based on hover to prevent re-layout
Diffstat (limited to 'packages/website/ts')
-rw-r--r--packages/website/ts/components/wallet/wallet.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/website/ts/components/wallet/wallet.tsx b/packages/website/ts/components/wallet/wallet.tsx
index 2474ec3fa..b20f3ef4b 100644
--- a/packages/website/ts/components/wallet/wallet.tsx
+++ b/packages/website/ts/components/wallet/wallet.tsx
@@ -281,6 +281,7 @@ export class Wallet extends React.Component<WalletProps, WalletState> {
return {
...styles.bodyInnerDiv,
overflow: this.state.isHoveringSidebar ? 'auto' : 'hidden',
+ marginRight: this.state.isHoveringSidebar ? 0 : 4,
// TODO: make this completely responsive
maxHeight: this.props.screenWidth !== ScreenWidths.Sm ? 475 : undefined,
};