@@ -34,8 +34,8 @@ export const PaymentNotificationsOverlay: React.FC<PaymentNotificationsOverlayPr
3434 const formatAmount = ( satoshis : number ) => {
3535 const btc = satoshis / 100000000 ;
3636 return (
37- < div >
38- < div style = { { fontWeight : 'bold' } } > { satoshis . toLocaleString ( ) } sats</ div >
37+ < div style = { { display : 'flex' , flexDirection : 'column' , alignItems : 'end' } } >
38+ < div style = { { fontWeight : 'bold' , fontSize : "1rem" } } > { satoshis . toLocaleString ( ) } sats</ div >
3939 < div style = { { fontSize : '0.85rem' , color : 'var(--text-light-color)' } } >
4040 ({ btc . toFixed ( 8 ) } BTC)
4141 </ div >
@@ -48,7 +48,7 @@ export const PaymentNotificationsOverlay: React.FC<PaymentNotificationsOverlayPr
4848 } , [ markAllAsRead ] ) ;
4949
5050 const noticesList = notifications . map ( ( notification ) => (
51- < BaseNotification
51+ < S . RootNotification
5252 key = { notification . id }
5353 type = "info"
5454 title = {
@@ -89,35 +89,36 @@ export const PaymentNotificationsOverlay: React.FC<PaymentNotificationsOverlayPr
8989 }
9090 description = {
9191 < div >
92+ < S . TransactionWrapper >
9293 < div style = { { fontSize : '0.85rem' , color : 'var(--text-light-color)' , marginBottom : '4px' } } >
9394 { formatDate ( notification . created_at ) }
9495 </ div >
9596
9697 < div style = { { marginBottom : '8px' } } >
97- < strong > { t ( 'payment.notifications.amount' , 'Amount' ) } : </ strong >
9898 { formatAmount ( notification . amount ) }
9999 </ div >
100+ </ S . TransactionWrapper >
100101
101- < div style = { { fontSize : '0.85rem' , color : 'var(--text-light-color)' , marginTop : '4px' } } >
102+ { /* <div style={{ fontSize: '0.85rem', color: 'var(--text-light-color)', marginTop: '4px' }}>
102103 {t('payment.notifications.expiration', 'Expires')}: {formatDate(notification.expiration_date)}
103- </ div >
104-
104+ </div> */ }
105+ < S . ActionRow >
106+ < Link to = "/payment-notifications" style = { { fontSize : '0.85rem' } } >
107+ { t ( 'payment.notifications.viewDetails' , 'View details' ) }
108+ </ Link >
105109 { ! notification . is_read && (
106110 < BaseButton
107111 type = "link"
108112 size = "small"
109113 onClick = { ( ) => markAsRead ( notification . id ) }
110- style = { { padding : '4px 0' , height : 'auto' , marginTop : '4px' } }
114+ style = { { padding : '4px 0' , height : 'auto' , marginTop : '4px' , fontSize : '0.85rem' } }
111115 >
112116 { t ( 'payment.notifications.markAsRead' , 'Mark as read' ) }
113117 </ BaseButton >
114118 ) }
115119
116- < div style = { { marginTop : '4px' } } >
117- < Link to = "/payment-notifications" style = { { fontSize : '0.85rem' } } >
118- { t ( 'payment.notifications.viewDetails' , 'View details' ) }
119- </ Link >
120- </ div >
120+
121+ </ S . ActionRow >
121122 </ div >
122123 }
123124 />
@@ -129,9 +130,9 @@ export const PaymentNotificationsOverlay: React.FC<PaymentNotificationsOverlayPr
129130 < BaseCol span = { 24 } >
130131 { notifications . length > 0 ? (
131132 < S . NotificationsList >
132- < BaseSpace direction = "vertical" size = { 10 } split = { < S . SplitDivider /> } >
133+ < S . NotificationsWrapper direction = "vertical" size = { 10 } split = { < S . SplitDivider /> } style = { { width : '95%' } } >
133134 { noticesList }
134- </ BaseSpace >
135+ </ S . NotificationsWrapper >
135136 </ S . NotificationsList >
136137 ) : (
137138 < div style = { { textAlign : 'center' , padding : '20px 0' } } >
0 commit comments