From c2fc48252db943594aae09674650cfe8e4bc8a3e Mon Sep 17 00:00:00 2001 From: Vasek Mlejnsky Date: Fri, 21 Sep 2018 08:06:52 +0200 Subject: [PATCH] Fix issue when "Advanced settings" caused the form to move down --- src/views/Wallet/views/AccountSend/index.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/views/Wallet/views/AccountSend/index.js b/src/views/Wallet/views/AccountSend/index.js index 50120b76..2ce069e9 100644 --- a/src/views/Wallet/views/AccountSend/index.js +++ b/src/views/Wallet/views/AccountSend/index.js @@ -113,13 +113,16 @@ const StyledLink = styled(Link)` `; const ToggleAdvancedSettingsWrapper = styled.div` + min-height: 40px; margin-bottom: 20px; display: flex; flex-direction: row; justify-content: space-between; @media screen and (max-width: ${SmallScreenWidth}) { - flex-direction: column; + ${props => (props.isAdvancedSettingsHidden && css` + flex-direction: column; + `)} } `; @@ -441,7 +444,9 @@ class AccountSend extends Component { /> - + this.handleToggleAdvancedSettingsButton()}