Skip to content

Commit 613bbf6

Browse files
fix(VDisks): use fixed VDisk width (#1857)
1 parent cda185b commit 613bbf6

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

src/containers/Storage/StorageGroups/columns/columns.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ const getVDisksColumn = (data?: GetStorageColumnsData): StorageGroupsColumn => (
238238
className: b('vdisks-column'),
239239
render: ({row}) => <VDisks vDisks={row.VDisks} viewContext={data?.viewContext} />,
240240
align: DataTable.CENTER,
241-
width: 900,
241+
width: 780, // usually 8-9 vdisks, this width corresponds to 8 vdisks, column is expanded if more
242242
resizeable: false,
243243
sortable: false,
244244
});

src/containers/Storage/VDisks/VDisks.scss

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,10 @@
11
.ydb-storage-vdisks {
22
&__wrapper {
33
display: flex;
4-
justify-content: center;
5-
6-
min-width: 500px;
74
}
85

96
&__item {
10-
flex-grow: 1;
11-
12-
max-width: 200px;
7+
width: 90px;
138
margin-right: 6px;
149

1510
&_with-dc-margin {

0 commit comments

Comments
 (0)