Skip to content

Commit 62ad79a

Browse files
committed
fix(threads): move overflow:auto to style prop on preview box — Box prop was silently ignored
1 parent 6981d9a commit 62ad79a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/features/room/ThreadBrowser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ function ThreadPreview({ room, thread, onClick, onJump }: ThreadPreviewProps) {
232232
onClick={handleJumpClick}
233233
/>
234234
)}
235-
<Box overflow="auto" style={{ maxHeight: '200px', flexShrink: 0 }}>
235+
<Box style={{ maxHeight: '200px', overflow: 'auto', flexShrink: 0 }}>
236236
<EncryptedContent mEvent={rootEvent}>
237237
{() => {
238238
if (rootEvent.isRedacted()) {

0 commit comments

Comments
 (0)