diff --git a/src/containers/flow/FlowGrid/components/FlowCell/components/FlowCellText/styles.module.scss b/src/containers/flow/FlowGrid/components/FlowCell/components/FlowCellText/styles.module.scss index 0a2896ab..6fbd4a2f 100644 --- a/src/containers/flow/FlowGrid/components/FlowCell/components/FlowCellText/styles.module.scss +++ b/src/containers/flow/FlowGrid/components/FlowCell/components/FlowCellText/styles.module.scss @@ -3,8 +3,20 @@ .text { @include blur; - padding: $gap / 2 $gap $gap $gap; line-height: 1.3em; + display: flex; + flex-direction: column; + min-height: 0; +} + +.description { + mask-image: linear-gradient( + to bottom, + rgba(255, 255, 255, 1) 50%, + rgba(0, 0, 0, 0) 95% + ); + flex: 1; + overflow: hidden; } .heading { diff --git a/src/containers/flow/FlowGrid/components/FlowCell/index.tsx b/src/containers/flow/FlowGrid/components/FlowCell/index.tsx index ffd837b9..c83da0f1 100644 --- a/src/containers/flow/FlowGrid/components/FlowCell/index.tsx +++ b/src/containers/flow/FlowGrid/components/FlowCell/index.tsx @@ -145,7 +145,7 @@ const FlowCell: FC = ({ /> )} - {!!title && ( + {!!title && !withText && (