Change wallet margin based on hover to prevent re-layout
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
Reference in New Issue
Block a user