From 142926655ced44477e066898720585d01917b220 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Mon, 9 Oct 2017 00:57:19 +0900 Subject: [PATCH] Move the switch wrappers 1rem left Fixes #11367 Auditors: Test Plan: --- app/renderer/components/preferences/paymentsTab.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/renderer/components/preferences/paymentsTab.js b/app/renderer/components/preferences/paymentsTab.js index 9b055a58e7..9134a2b468 100644 --- a/app/renderer/components/preferences/paymentsTab.js +++ b/app/renderer/components/preferences/paymentsTab.js @@ -317,7 +317,11 @@ const styles = StyleSheet.create({ }, switchWrap: { - width: paymentStyles.width.tableCell + width: paymentStyles.width.tableCell, + + // TODO: Remove this when #10913 is merged to master + position: 'relative', + left: '1rem' }, switchWrap__switchControl: { // TODO: Refactor switchControls.less @@ -365,8 +369,10 @@ const styles = StyleSheet.create({ // History and settings icons switchWrap__mainIconsRight: { position: 'relative', - right: '12px', - top: '3.5px' + top: '3.5px', + + // See: #11367 + right: '1rem' }, switchWrap__mainIcons: { backgroundColor: globalStyles.color.braveOrange,