@@ -202,8 +210,7 @@ class EnabledContent extends ImmutableComponent {
{
[5, 10, 15, 20].map((amount) =>
@@ -213,7 +220,7 @@ class EnabledContent extends ImmutableComponent {
- {this.paymentHistoryButton(ledgerData)}
+ {this.paymentHistoryButton()}
@@ -222,13 +229,13 @@ class EnabledContent extends ImmutableComponent {
ledgerData.get('error') && ledgerData.get('error').get('caller') === 'getWalletProperties'
?
:
- {this.fundsAmount(ledgerData)}
- {this.walletButton(ledgerData)}
+ {this.fundsAmount()}
+ {this.walletButton()}
@@ -239,7 +246,7 @@ class EnabledContent extends ImmutableComponent {
data-l10n-id={walletStatus.id}
data-l10n-args={walletStatus.args ? JSON.stringify(walletStatus.args) : null}
/>
- {this.nextReconcileMessage(ledgerData)}
+ {this.nextReconcileMessage()}
diff --git a/app/renderer/components/preferences/payment/ledgerTable.js b/app/renderer/components/preferences/payment/ledgerTable.js
index 45c03110acf..122a8cef12b 100644
--- a/app/renderer/components/preferences/payment/ledgerTable.js
+++ b/app/renderer/components/preferences/payment/ledgerTable.js
@@ -202,12 +202,12 @@ const styles = StyleSheet.create({
disabled: verifiedBadge(verifiedWhiteIcon),
neverShowSiteIcon: {
- opacity: '0',
+ opacity: 0,
fontSize: '20px',
textAlign: 'center',
':hover': {
- opacity: '1'
+ opacity: 1
}
},
@@ -257,21 +257,21 @@ const styles = StyleSheet.create({
hideExcludedSites: {
display: 'flex',
- flex: '1',
+ flex: 1,
alignItems: 'center',
height: '35px'
},
columnOffset: {
display: 'flex',
- flexGrow: '8',
- flexShrink: '8'
+ flexGrow: 8,
+ flexShrink: 8
},
rightColumn: {
display: 'flex',
- flexGrow: '1',
- flexShrink: '1'
+ flexGrow: 1,
+ flexShrink: 1
},
alignRight: {
@@ -279,7 +279,7 @@ const styles = StyleSheet.create({
},
paymentsDisabled: {
- opacity: '0.6'
+ opacity: 0.6
}
})
diff --git a/app/renderer/components/styles/commonStyles.js b/app/renderer/components/styles/commonStyles.js
index 2fa068616e0..e95ab2d217c 100644
--- a/app/renderer/components/styles/commonStyles.js
+++ b/app/renderer/components/styles/commonStyles.js
@@ -117,7 +117,7 @@ const styles = StyleSheet.create({
minWidth: '78px',
fontSize: '0.9rem',
padding: '8px 20px',
- margin: '0',
+ margin: 0,
':hover': {
border: `1px solid ${globalStyles.color.gray}`,
diff --git a/less/about/preferences.less b/less/about/preferences.less
index 827cbd77be9..6afc7fb5194 100644
--- a/less/about/preferences.less
+++ b/less/about/preferences.less
@@ -293,14 +293,6 @@ table.sortableTable {
// about:preferences#payments
.paymentsContainer {
- @fontSize: 14.5px; // .form-control
-
- @walletBarTableRowWidth: 235px;
- @walletBarTableData: @walletBarTableRowWidth + 30px; // .walletBar td (min-width + padding)
- @walletBarMargin: 15px;
- @walletBarItemMargin: 12px;
- @walletBarPadding: @walletBarItemMargin * 1.5;
-
// General properties on about:preferences#payments.
// Make sure any change here could cause unexpected regressions.
a {
@@ -342,17 +334,14 @@ table.sortableTable {
// Specific properties of the Payment History
&.paymentHistory {
- @padding-horizontal: 30px;
-
- .dialog-header,
.dialog-footer {
- padding: 20px @padding-horizontal;
+ padding: 20px 30px;
}
.dialog-body {
background: #FFF;
height: 300px;
- overflow-y: scroll;
+ overflow-y: auto;
padding-right: 0;
padding-left: 0;
}
@@ -396,36 +385,9 @@ table.sortableTable {
}
}
}
-
- // This defines the styling of the title row (1st) on about:preferences#payments
- .titleBar {
- .paymentsSwitches {
-
- .enablePaymentsSwitch,
- .autoSuggestSwitch {
-
- .settingItem
-
- span,
- .moreInfoBtn {
- }
- }
-
- .autoSuggestSwitch {
- .moreInfoBtn {
- }
- }
- }
- }
- .walletBar {
- td {
- .settingsListContainer {
- margin-bottom: 0; // TODO how ????
- }
- }
- }
}
+// TODO check what to remove
.board {
overflow-x: hidden;
clear: both;