Skip to content

Commit aa1083d

Browse files
fix(Healthcheck): update styles to be closer to the design
1 parent de0b06e commit aa1083d

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

src/containers/Tenant/Diagnostics/DetailedOverview/DetailedOverview.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ $section-title-line-height: 24px;
2020
&__close-modal-button {
2121
position: absolute;
2222
top: 23px;
23-
right: 10px;
23+
right: 13px;
2424

2525
& .yc-button__text {
2626
display: flex;

src/containers/Tenant/Diagnostics/Healthcheck/IssuesViewer/IssueViewer.scss

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,22 @@
22

33
.issue {
44
display: flex;
5+
justify-content: space-between;
56
align-items: center;
67

78
height: 40px;
89

910
cursor: pointer;
1011

1112
&__field {
12-
padding: 0 10px;
13+
display: flex;
14+
overflow: hidden;
1315

1416
&_status {
1517
display: flex;
1618

17-
min-width: 470px;
18-
1919
white-space: nowrap;
2020
}
21-
&_type {
22-
min-width: 160px;
23-
}
2421
&_additional {
2522
width: max-content;
2623

@@ -34,6 +31,7 @@
3431
}
3532
&_message {
3633
overflow: hidden;
34+
flex-shrink: 0;
3735

3836
width: 300px;
3937

@@ -91,8 +89,10 @@
9189
.issue-viewer {
9290
display: flex;
9391

92+
width: 820px;
93+
9494
&__tree {
95-
padding-right: 20px;
95+
width: 100%;
9696
}
9797

9898
&__checkbox {
@@ -146,8 +146,8 @@
146146
}
147147

148148
.ydb-tree-view {
149-
150149
$calculated-margin: calc(24px * var(--ydb-tree-view-level));
150+
151151
&__item {
152152
height: 40px;
153153
}
@@ -166,9 +166,5 @@
166166
.issue-viewer__info-panel {
167167
margin-left: $calculated-margin;
168168
}
169-
170-
.issue__field_message {
171-
margin-left: calc(-1 * #{$calculated-margin});
172-
}
173169
}
174170
}

0 commit comments

Comments
 (0)