🐛 Fix overflow in content
This commit is contained in:
parent
0fdb1e4ead
commit
9d5c452eae
@ -209,14 +209,17 @@ class _PostItemState extends State<PostItem> {
|
|||||||
onChange: (size) {
|
onChange: (size) {
|
||||||
setState(() => _contentHeight = size.height);
|
setState(() => _contentHeight = size.height);
|
||||||
},
|
},
|
||||||
child: MarkdownTextContent(
|
child: SingleChildScrollView(
|
||||||
parentId: 'p${item.id}-embed',
|
physics: const NeverScrollableScrollPhysics(),
|
||||||
content: item.body['content'],
|
child: MarkdownTextContent(
|
||||||
isAutoWarp: item.type == 'story',
|
parentId: 'p${item.id}-embed',
|
||||||
isSelectable: widget.isContentSelectable,
|
content: item.body['content'],
|
||||||
isLargeText: item.type == 'article' &&
|
isAutoWarp: item.type == 'story',
|
||||||
widget.isFullContent,
|
isSelectable: widget.isContentSelectable,
|
||||||
).paddingOnly(left: 12, right: 8),
|
isLargeText: item.type == 'article' &&
|
||||||
|
widget.isFullContent,
|
||||||
|
).paddingOnly(left: 12, right: 8),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (_contentHeight >= 320 && !widget.isFullContent)
|
if (_contentHeight >= 320 && !widget.isFullContent)
|
||||||
|
Loading…
Reference in New Issue
Block a user