File tree Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Expand file tree Collapse file tree 3 files changed +15
-8
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,10 @@ const Styled = {
11
11
Wrapper : styled . div `
12
12
line-height: 32px;
13
13
` ,
14
+ Balance : styled . span `
15
+ display: flex;
16
+ align-items: center;
17
+ ` ,
14
18
Divider : styled . div `
15
19
height: 2px;
16
20
background-color: ${ props => props . theme . colors . gray } ;
@@ -23,17 +27,21 @@ const NodeStatus: React.FC = () => {
23
27
const { l } = usePrefixedTranslation ( 'cmps.NodeStatus' ) ;
24
28
const { nodeStore } = useStore ( ) ;
25
29
26
- const { Wrapper, Divider } = Styled ;
30
+ const { Wrapper, Balance , Divider } = Styled ;
27
31
return (
28
32
< Wrapper >
29
33
< HeaderFour > { l ( 'title' ) } </ HeaderFour >
30
34
< Jumbo >
31
- < Bolt title = "bolt" size = "small" />
32
- < Unit sats = { nodeStore . wallet . channelBalance } />
35
+ < Balance >
36
+ < Bolt title = "bolt" size = "small" />
37
+ < Unit sats = { nodeStore . wallet . channelBalance } />
38
+ </ Balance >
33
39
</ Jumbo >
34
40
< Small >
35
- < Bitcoin title = "bitcoin" size = "small" />
36
- < Unit sats = { nodeStore . wallet . walletBalance } suffix = { false } />
41
+ < Balance >
42
+ < Bitcoin title = "bitcoin" size = "small" />
43
+ < Unit sats = { nodeStore . wallet . walletBalance } suffix = { false } />
44
+ </ Balance >
37
45
</ Small >
38
46
< Divider />
39
47
</ Wrapper >
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export const HeaderFive = styled.h5`
40
40
41
41
export const Small = styled . p `
42
42
font-size: ${ props => props . theme . sizes . xs } ;
43
- line-height: 19px ;
43
+ line-height: 20px ;
44
44
` ;
45
45
46
46
export const Jumbo = styled . span `
Original file line number Diff line number Diff line change @@ -38,8 +38,7 @@ const Styled = {
38
38
` }
39
39
` ,
40
40
Column : styled ( Column ) < { last ?: boolean } > `
41
- overflow: hidden;
42
- text-overflow: ellipsis;
41
+ white-space: nowrap;
43
42
line-height: ${ ROW_HEIGHT } px;
44
43
` ,
45
44
StatusIcon : styled . span `
You can’t perform that action at this time.
0 commit comments