Skip to content

Commit

Permalink
chore: dont limit height for replies. Parent scroll will handle scrol…
Browse files Browse the repository at this point in the history
…ling
  • Loading branch information
jenniferarnesen committed Dec 21, 2023
1 parent 11df583 commit 1a8a917
Showing 1 changed file with 14 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ const InterpretationThread = ({
)

return (
<div className={cx('container', { fetching })}>
<div
className={cx('container', {
fetching,
dashboard: !!dashboardRedirectUrl,
})}
>
<div className={'title'}>
<IconClock16 color={colors.grey700} />
{moment(fromServerDate(interpretation.created)).format('LLL')}
Expand Down Expand Up @@ -85,6 +90,10 @@ const InterpretationThread = ({
scroll-behavior: smooth;
}
.dashboard .thread {
overflow-y: hidden;
}
.container {
position: relative;
overflow: auto;
Expand All @@ -93,6 +102,10 @@ const InterpretationThread = ({
flex-direction: column;
}
.container.dashboard {
max-height: none;
}
.container.fetching::before {
content: '';
position: absolute;
Expand Down

0 comments on commit 1a8a917

Please sign in to comment.