Skip to content

Commit

Permalink
fix(frontend): fix children and parents overflow (#411)
Browse files Browse the repository at this point in the history
add flex-wrap
  • Loading branch information
perierc authored Feb 15, 2024
1 parent 7751319 commit eb0f36a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ const ListEntryChildren = ({ url, urlPrefix, setUpdateNodeChildren }) => {
</Stack>

{/* Renders parents or children of the node */}
<Stack direction="row">
<Stack direction="row" flexWrap="wrap">
{relations.map((relationObject) => (
<Stack
key={relationObject["index"]}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const ListEntryParents = ({ fetchUrl, linkHrefPrefix }: Props) => {
<Typography sx={{ ml: 4, mb: 1 }} variant="h5">
Parents
</Typography>
<Stack direction="row">
<Stack direction="row" flexWrap="wrap">
{relations.map((relation) => (
<Link
key={relation}
Expand Down

0 comments on commit eb0f36a

Please sign in to comment.