diff --git a/app/renderer/components/preferences/payment/ledgerTable.js b/app/renderer/components/preferences/payment/ledgerTable.js index 98f3f195765..04bbc92dcc3 100644 --- a/app/renderer/components/preferences/payment/ledgerTable.js +++ b/app/renderer/components/preferences/payment/ledgerTable.js @@ -156,13 +156,13 @@ class LedgerTable extends ImmutableComponent { } if (!faviconURL) { - return + return } return - + html:
+ { this.getImage(faviconURL, providerName, publisherKey) } - {siteName} + {siteName}
, value: publisherKey @@ -350,9 +350,9 @@ class LedgerTable extends ImmutableComponent { const verifiedBadge = (icon) => ({ height: '20px', width: '20px', - marginRight: '-10px', display: 'block', - background: `url(${icon}) center no-repeat` + background: `url(${icon}) center no-repeat`, + margin: 'auto' }) const gridStyles = StyleSheet.create({ @@ -391,7 +391,8 @@ const styles = StyleSheet.create({ }, verifiedTd: { - padding: '0 0 0 15px' + paddingRight: 0, + paddingLeft: 0 }, percTd: { @@ -413,20 +414,27 @@ const styles = StyleSheet.create({ alignItems: 'center' }, - defaultIcon: { - fontSize: '15px', - width: globalStyles.spacing.iconSize, - textAlign: 'center' + siteData__anchor: { + width: '430px', + overflow: 'hidden', + textOverflow: 'ellipsis', + whiteSpace: 'nowrap', + textAlign: 'left' }, - favicon: { + siteData__anchor__icon_favicon: { width: globalStyles.spacing.iconSize, height: globalStyles.spacing.iconSize }, - url: { - padding: '0 6px', - textAlign: 'left' + siteData__anchor__icon_default: { + fontSize: '15px', + width: globalStyles.spacing.iconSize, + textAlign: 'center' + }, + + siteData__anchor__url: { + paddingLeft: '6px' }, hideExcludedSites: {