Skip to content

Commit

Permalink
Fixes percentage values alignment
Browse files Browse the repository at this point in the history
Resolves brave#13024

Auditors:

Test Plan:
  • Loading branch information
NejcZdovc committed Feb 6, 2018
1 parent 40432dc commit 814a338
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/renderer/components/preferences/payment/ledgerTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class LedgerTable extends ImmutableComponent {
defaultValue={percentage}
patern={this.getHostPattern(synopsis)}
/>
: percentage
: <span className={css(styles.regularPercentage)}>{percentage}</span>
}
</span>,
value: percentage
Expand Down Expand Up @@ -491,6 +491,10 @@ const styles = StyleSheet.create({
ledgerTable__showAll: {
textAlign: 'center',
marginTop: globalStyles.spacing.panelMargin
},

regularPercentage: {
paddingRight: '10px'
}
})

Expand Down

0 comments on commit 814a338

Please sign in to comment.