Skip to content

Commit 7b9adda

Browse files
fix(PDiskSpaceDistribution): increase slot height, display 0 id (#1071)
1 parent d3b3d9b commit 7b9adda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
padding: 0 var(--g-spacing-2);
3939

40-
line-height: 13px;
40+
line-height: 15px;
4141
}
4242

4343
&__slot-id {

src/containers/PDiskPage/PDiskSpaceDistribution/PDiskSpaceDistribution.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ function SlotContent({id, title, used, total}: SlotContentProps) {
185185
return (
186186
<div className={b('slot-content')}>
187187
<span>
188-
{id ? <span className={b('slot-id')}>{id}</span> : null}
188+
{valueIsDefined(id) ? <span className={b('slot-id')}>{id}</span> : null}
189189
{title}
190190
</span>
191191
<span className={b('slot-size')}>{renderSize()}</span>

0 commit comments

Comments
 (0)