Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Add padding around showAllWrap button #8871

Merged
merged 1 commit into from
May 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions app/renderer/components/preferences/payment/ledgerTable.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ class LedgerTable extends ImmutableComponent {
/>
{
(totalUnPinnedRows !== unPinnedRows.size && hideLower)
? <div className={css(styles.showAllWrap)}>
? <div className={css(styles.ledgerTable__showAllWrap)}>
<BrowserButton secondaryColor
l10nId={hideLower ? 'showAll' : 'hideLower'}
onClick={this.showAll.bind(this, !hideLower)}
Expand Down Expand Up @@ -464,10 +464,9 @@ const styles = StyleSheet.create({
right: '2px'
},

showAllWrap: {
ledgerTable__showAllWrap: {
textAlign: 'center',
paddingBottom: '10px',
marginTop: '-20px'
marginTop: globalStyles.spacing.panelMargin
}
})

Expand Down
3 changes: 2 additions & 1 deletion app/renderer/components/preferences/paymentsTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,8 @@ const styles = StyleSheet.create({
paymentsContainer: {
position: 'relative',
overflowX: 'hidden',
width: '805px'
width: '805px',
paddingBottom: '40px' // cf: padding of .prefTabContainer
},
paymentsSwitches: {
display: 'flex',
Expand Down