Skip to content

Commit 85191b0

Browse files
Copilotadameat
andcommitted
Change donors list to vertical layout instead of horizontal
Co-authored-by: adameat <[email protected]>
1 parent 2ebbecb commit 85191b0

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

src/components/VDiskInfo/VDiskInfo.tsx

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -211,17 +211,20 @@ export function VDiskInfo<T extends PreparedVDisk>({
211211
});
212212

213213
return (
214-
<React.Fragment key={index}>
215-
{index > 0 && ', '}
216-
<InternalLink to={vDiskPath}>{donor.StringifiedId}</InternalLink>
217-
</React.Fragment>
214+
<InternalLink key={index} to={vDiskPath}>
215+
{donor.StringifiedId}
216+
</InternalLink>
218217
);
219218
}).filter(Boolean);
220219

221220
if (donorLinks.length > 0) {
222221
rightColumn.push({
223222
label: vDiskInfoKeyset('donors'),
224-
value: <>{donorLinks}</>,
223+
value: (
224+
<Flex direction="column" gap={1}>
225+
{donorLinks}
226+
</Flex>
227+
),
225228
});
226229
}
227230
}

0 commit comments

Comments
 (0)