Skip to content

Commit

Permalink
[dagit] Don’t let description overflow on asset details page (#8309)
Browse files Browse the repository at this point in the history
Co-authored-by: bengotow <bgotow@elementl.com>
  • Loading branch information
bengotow and bengotow committed Jun 10, 2022
1 parent 2fbac77 commit 8ea1a15
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,10 @@ export const AssetNodeDefinition: React.FC<{
<Subheading>Description</Subheading>
<DefinitionLocation assetNode={assetNode} repoAddress={repoAddress} />
</Box>
<Box padding={{vertical: 16, horizontal: 24}} style={{flex: 1, minHeight: 120}}>
<Box
padding={{vertical: 16, horizontal: 24}}
style={{flex: 1, flexBasis: 'content', flexGrow: 0, minHeight: 120}}
>
<Description
description={assetNode.description || 'No description provided.'}
maxHeight={260}
Expand Down

0 comments on commit 8ea1a15

Please sign in to comment.