Skip to content

Commit

Permalink
Add spacing between Giropay and P24 icons and source identifier (#8876)
Browse files Browse the repository at this point in the history
Co-authored-by: Timur Karimov <timur.karimow.95@gmail.com>
  • Loading branch information
mdmoore and timur27 committed May 24, 2024
1 parent 05b4cc1 commit cd0925d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog/fix-8804-source-identifier-spacing
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fix
Comment: Small visual change to transactions list.


3 changes: 2 additions & 1 deletion client/transactions/list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,11 @@ const getPaymentSourceDetails = ( txn: Transaction ) => {

switch ( txn.source ) {
case 'giropay':
return <Fragment>{ txn.source_identifier }</Fragment>;
return <Fragment>&nbsp;&nbsp;{ txn.source_identifier }</Fragment>;
case 'p24':
return (
<Fragment>
&nbsp;&nbsp;
{ p24BankList[ txn.source_identifier ] ?? '' }
</Fragment>
);
Expand Down

0 comments on commit cd0925d

Please sign in to comment.