From 54fd29b0ab1d939b4ebd997facfe0fc18d119c7e Mon Sep 17 00:00:00 2001 From: ninabreznik Date: Wed, 25 Jul 2018 18:16:20 +0100 Subject: [PATCH] Alignment fixes --- src/app/tabs/run-tab.js | 10 +++++++--- src/app/tabs/styles/run-tab-styles.js | 12 ++++++++++-- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/src/app/tabs/run-tab.js b/src/app/tabs/run-tab.js index f14f144d33..ee3a6b6e7d 100644 --- a/src/app/tabs/run-tab.js +++ b/src/app/tabs/run-tab.js @@ -530,10 +530,14 @@ function settings (container, self) { ` var accountEl = yo`
-
Account
- - ${copyToClipboard(() => document.querySelector('#runTabView #txorigin').value)} +
+ Account +
+
+ + ${copyToClipboard(() => document.querySelector('#runTabView #txorigin').value)} +
` var gasPriceEl = yo` diff --git a/src/app/tabs/styles/run-tab-styles.js b/src/app/tabs/styles/run-tab-styles.js index 56916dc25d..f5507fab55 100644 --- a/src/app/tabs/styles/run-tab-styles.js +++ b/src/app/tabs/styles/run-tab-styles.js @@ -35,6 +35,7 @@ var css = csjs` margin-top: .5em; display: flex; align-items: center; + width: 500px; } .col1 { width: 30%; @@ -52,14 +53,21 @@ var css = csjs` display: flex; align-items: center; position: relative; + width: 259px; + } + .account { + display: flex; + align-items: center; + width: 266px; } .col2 { ${styles.rightPanel.runTab.input_RunTab} + border-radius: 3px; } .col2_1 { ${styles.rightPanel.runTab.input_RunTab} - width: 165px; - min-width: 165px; + width: 164px; + min-width: 164px; } .col2_2 { ${styles.rightPanel.runTab.dropdown_RunTab}