Skip to content

Commit

Permalink
fix: survey response scrollbars (#18758)
Browse files Browse the repository at this point in the history
  • Loading branch information
daibhin authored Nov 21, 2023
1 parent d7fefa4 commit 7a3df93
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions frontend/src/scenes/surveys/SurveyView.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,3 @@
break-inside: avoid;
box-sizing: border-box;
}

.masonry-item-text {
max-height: 305px;
overflow-y: scroll;
}
2 changes: 1 addition & 1 deletion frontend/src/scenes/surveys/surveyViewViz.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,7 @@ export function OpenTextViz({

return (
<div key={`open-text-${questionIndex}-${i}`} className="masonry-item border rounded">
<div className="masonry-item-text text-center italic font-semibold px-5 py-4">
<div className="max-h-80 overflow-y-auto text-center italic font-semibold px-5 py-4">
{JSON.stringify(event.properties[surveyResponseField])}
</div>
<div className="bg-bg-light items-center px-5 py-4 border-t rounded-b truncate w-full">
Expand Down

0 comments on commit 7a3df93

Please sign in to comment.