File tree Expand file tree Collapse file tree 4 files changed +23
-8
lines changed
src/containers/Tenant/Diagnostics Expand file tree Collapse file tree 4 files changed +23
-8
lines changed Original file line number Diff line number Diff line change
1
+ $section-title-margin : 20px ;
2
+ $section-title-line-height : 24px ;
3
+
1
4
.kv-detailed-overview {
2
5
display : flex ;
3
6
gap : 20px ;
Original file line number Diff line number Diff line change @@ -97,10 +97,14 @@ class Healthcheck extends React.Component {
97
97
</ div >
98
98
{ this . renderUpdateButton ( ) }
99
99
</ div >
100
- < div >
100
+ < div className = { b ( 'preview-content' ) } >
101
101
{ text }
102
102
{ ! statusOk && (
103
- < Button view = "flat-info" onClick = { showMoreHandler } >
103
+ < Button
104
+ view = "flat-info"
105
+ onClick = { showMoreHandler }
106
+ size = "s"
107
+ >
104
108
Show details
105
109
</ Button >
106
110
) }
Original file line number Diff line number Diff line change
1
+ @use ' ../DetailedOverview/DetailedOverview.scss' as detailedOverview ;
1
2
@import ' ../../../../styles/mixins.scss' ;
2
3
3
4
.healthcheck {
37
38
38
39
& __status-wrapper {
39
40
display : flex ;
40
- align-items : baseline ;
41
41
42
- margin-bottom : 15 px ;
42
+ margin-bottom : detailedOverview . $section-title-margin ;
43
43
gap : 8px ;
44
44
}
45
45
46
46
& __preview-title {
47
47
font-weight : 600 ;
48
+ line-height : detailedOverview .$section-title-line-height ;
49
+ }
50
+
51
+ & __preview-content {
48
52
line-height : 24px ;
49
53
}
50
54
Original file line number Diff line number Diff line change
1
+ @use ' ../DetailedOverview/DetailedOverview.scss' as detailedOverview ;
2
+
1
3
.tenant-overview {
2
4
padding-bottom : 20px ;
3
5
& __loader {
30
32
align-items : center ;
31
33
32
34
margin-bottom : 10px ;
35
+
36
+ line-height : 24px ;
33
37
}
34
38
35
39
& __top-label {
36
- margin-bottom : 20 px ;
40
+ margin-bottom : detailedOverview . $section-title-margin ;
37
41
38
42
font-weight : 600 ;
39
- line-height : 24 px ;
43
+ line-height : detailedOverview . $section-title-line-height ;
40
44
gap : 10px ;
41
45
}
42
46
54
58
flex-wrap : wrap ;
55
59
align-items : center ;
56
60
57
- margin-bottom : 20 px ;
61
+ margin-bottom : 35 px ;
58
62
}
59
63
60
64
& __collapse-title {
88
92
margin-bottom : 20px ;
89
93
90
94
font-size : var (--yc-text-body-2-font-size );
91
- font-weight : 500 ;
95
+ font-weight : 600 ;
92
96
line-height : var (--yc-text-body-2-line-height );
93
97
}
94
98
}
You can’t perform that action at this time.
0 commit comments