diff --git a/components/FeeBreakdown.tsx b/components/FeeBreakdown.tsx index 6fc5d7327..12baac322 100644 --- a/components/FeeBreakdown.tsx +++ b/components/FeeBreakdown.tsx @@ -113,6 +113,7 @@ export default class FeeBreakdown extends React.Component< sensitive /> } + compact /> } + compact /> {BackendUtils.supportInboundFees() && ( <> @@ -165,6 +169,7 @@ export default class FeeBreakdown extends React.Component< sensitive /> } + compact /> )} {!!localPolicy.inbound_fee_rate_milli_msat && ( @@ -178,6 +183,7 @@ export default class FeeBreakdown extends React.Component< ) / 10000 }%`} sensitive + compact /> )} {!!remotePolicy.inbound_fee_base_msat && ( @@ -196,6 +202,7 @@ export default class FeeBreakdown extends React.Component< sensitive /> } + compact /> )} {!!remotePolicy.inbound_fee_rate_milli_msat && ( @@ -209,6 +216,7 @@ export default class FeeBreakdown extends React.Component< ) / 10000 }%`} sensitive + compact /> )} @@ -264,6 +272,7 @@ export default class FeeBreakdown extends React.Component< sensitive /> } + compact /> } + compact /> } + compact /> } + compact /> {total_satoshis_received && ( } + compact /> )} @@ -377,6 +395,7 @@ export default class FeeBreakdown extends React.Component< toggleable /> } + compact /> )} {commit_fee && ( @@ -411,6 +431,7 @@ export default class FeeBreakdown extends React.Component< /> } sensitive + compact /> )} @@ -420,6 +441,7 @@ export default class FeeBreakdown extends React.Component< 'views.Channel.commitWeight' )} value={commit_weight} + compact /> )} @@ -437,6 +459,7 @@ export default class FeeBreakdown extends React.Component< ), localeString('views.Channel.csvDelay.info2') ]} + compact /> )} @@ -454,6 +477,7 @@ export default class FeeBreakdown extends React.Component< testnet ) } + compact /> )} {channelPoint && ( @@ -470,6 +494,7 @@ export default class FeeBreakdown extends React.Component< testnet ) } + compact /> )} diff --git a/components/KeyValue.tsx b/components/KeyValue.tsx index 20f66922e..10794d315 100644 --- a/components/KeyValue.tsx +++ b/components/KeyValue.tsx @@ -34,6 +34,7 @@ interface KeyValueProps { disableCopy?: boolean; ModalStore?: ModalStore; SettingsStore?: SettingsStore; + compact?: boolean; } @inject('ModalStore', 'SettingsStore') @@ -52,7 +53,8 @@ export default class KeyValue extends React.Component { mempoolLink, disableCopy, ModalStore, - SettingsStore + SettingsStore, + compact } = this.props; const { toggleInfoModal } = ModalStore!; @@ -168,7 +170,12 @@ export default class KeyValue extends React.Component { ); return ( - + ); diff --git a/views/Channels/Channel.tsx b/views/Channels/Channel.tsx index 2f53fb76e..533db5485 100644 --- a/views/Channels/Channel.tsx +++ b/views/Channels/Channel.tsx @@ -396,12 +396,14 @@ export default class ChannelView extends React.Component< )} {shortChannelId && ( )} {!!alias_scids && alias_scids.length > 0 && ( @@ -414,12 +416,14 @@ export default class ChannelView extends React.Component< value={PrivacyUtils.sensitiveValue( alias_scids.join(', ') )} + compact /> )} {zero_conf && ( )} {!(closeHeight || closeType) && ( @@ -431,6 +435,7 @@ export default class ChannelView extends React.Component< : localeString('general.false') } color={privateChannel ? 'green' : '#808000'} + compact /> )} {getCommitmentType && ( @@ -439,6 +444,7 @@ export default class ChannelView extends React.Component< 'views.Channel.commitmentType' )} value={getCommitmentType} + compact /> )} {chain_hash && ( @@ -446,6 +452,7 @@ export default class ChannelView extends React.Component< keyValue={localeString('views.Channel.chainHash')} value={chain_hash} sensitive + compact /> )} {!!closeHeight && ( @@ -460,6 +467,7 @@ export default class ChannelView extends React.Component< testnet ) } + compact /> )} {closeType && ( @@ -467,6 +475,7 @@ export default class ChannelView extends React.Component< keyValue={localeString('views.Channel.closeType')} value={closeType} sensitive + compact /> )} {getOpenInitiator && ( @@ -476,6 +485,7 @@ export default class ChannelView extends React.Component< )} value={getOpenInitiator} sensitive + compact /> )} {getCloseInitiator && ( @@ -485,6 +495,7 @@ export default class ChannelView extends React.Component< )} value={getCloseInitiator} sensitive + compact /> )} {closing_txid && ( @@ -499,6 +510,7 @@ export default class ChannelView extends React.Component< testnet ) } + compact /> )} {closing_tx_hash && ( @@ -515,6 +527,7 @@ export default class ChannelView extends React.Component< testnet ) } + compact /> )} {(pendingOpen || @@ -535,6 +548,7 @@ export default class ChannelView extends React.Component< testnet ) } + compact /> )} {!!pending_htlcs && pending_htlcs.length > 0 && ( @@ -576,6 +590,7 @@ export default class ChannelView extends React.Component< /> )} + @@ -592,6 +607,7 @@ export default class ChannelView extends React.Component< /> } sensitive + compact /> )} {time_locked_balance && ( @@ -607,6 +623,7 @@ export default class ChannelView extends React.Component< /> } sensitive + compact /> )} } + compact /> } + compact /> {unsettled_balance !== '0' && ( } + compact /> )} } indicatorColor={themeColor('outbound')} + compact /> } indicatorColor={themeColor('inbound')} + compact /> {!!local_chan_reserve_sat && ( )} {!!remote_chan_reserve_sat && ( )} {capacity && ( @@ -715,6 +743,7 @@ export default class ChannelView extends React.Component< value={ } + compact /> )}