File tree Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Expand file tree Collapse file tree 3 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ const TooltipWrapper: React.FC<Props> = ({
68
68
* prop. So we basically proxy the className using the TooltipWrapper
69
69
* above, then export this styled component for the rest of the app to use
70
70
*/
71
- const Tip = styled ( TooltipWrapper ) `
71
+ const Tip = styled ( TooltipWrapper ) < { capitalize ?: boolean } > `
72
72
color: ${ props => props . theme . colors . blue } ;
73
73
font-family: ${ props => props . theme . fonts . open . semiBold } ;
74
74
font-size: ${ props => props . theme . sizes . xs } ;
75
- text-transform: uppercase;
75
+ text-transform: ${ props => ( props . capitalize === false ? 'none' : ' uppercase' ) } ;
76
76
opacity: 0.95;
77
77
78
78
&.rc-tooltip-placement-bottom .rc-tooltip-arrow,
Original file line number Diff line number Diff line change @@ -73,7 +73,9 @@ export const ChannelRowHeader: React.FC = () => {
73
73
< HeaderFour > { l ( 'canSend' ) } </ HeaderFour >
74
74
</ Column >
75
75
< Column cols = { 1 } >
76
- < HeaderFour > { l ( 'feeRate' ) } </ HeaderFour >
76
+ < Tip overlay = { l ( 'feeRateTip' ) } capitalize = { false } >
77
+ < HeaderFour > { l ( 'feeRate' ) } </ HeaderFour >
78
+ </ Tip >
77
79
</ Column >
78
80
< Column cols = { 1 } >
79
81
< HeaderFour > { l ( 'upTime' ) } </ HeaderFour >
@@ -145,7 +147,7 @@ const ChannelRow: React.FC<Props> = ({ channel, style }) => {
145
147
< Column cols = { 1 } > { channel . remoteFeeRate } </ Column >
146
148
< Column cols = { 1 } > { channel . uptimePercent } </ Column >
147
149
< Column cols = { 2 } >
148
- < Tip overlay = { channel . remotePubkey } placement = "left" >
150
+ < Tip overlay = { channel . remotePubkey } placement = "left" capitalize = { false } >
149
151
< span > { channel . aliasLabel } </ span >
150
152
</ Tip >
151
153
</ Column >
Original file line number Diff line number Diff line change 22
22
"cmps.loop.ChannelRowHeader.canReceive" : " Can Receive" ,
23
23
"cmps.loop.ChannelRowHeader.canSend" : " Can Send" ,
24
24
"cmps.loop.ChannelRowHeader.feeRate" : " In Fee %" ,
25
+ "cmps.loop.ChannelRowHeader.feeRateTip" : " The fee charged by the peer to route inbound payments through the channel" ,
25
26
"cmps.loop.ChannelRowHeader.upTime" : " Up Time %" ,
26
27
"cmps.loop.ChannelRowHeader.peer" : " Peer/Alias" ,
27
28
"cmps.loop.ChannelRowHeader.capacity" : " Capacity" ,
You can’t perform that action at this time.
0 commit comments