mirror of
https://github.com/yzernik/squeaknode.git
synced 2026-08-18 13:09:08 +02:00
Fix multiline text content in squeak thread item component (#144)
This commit is contained in:
parent
9764cc5208
commit
48158803a6
1 changed files with 5 additions and 1 deletions
|
|
@ -81,7 +81,11 @@ export default function SqueakThreadItem({
|
|||
alignItems="flex-start"
|
||||
>
|
||||
<Grid item>
|
||||
<Typography size="md">{squeak.getContentStr()}</Typography>
|
||||
<Typography
|
||||
size="md"
|
||||
style={{whiteSpace: 'pre-line', overflow: "hidden", textOverflow: "ellipsis", height: '6rem'}}
|
||||
>{squeak.getContentStr()}
|
||||
</Typography>
|
||||
</Grid>
|
||||
</Grid>
|
||||
<Grid
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue