🐛 Fix markdown rendering
This commit is contained in:
@@ -530,7 +530,11 @@ class SpoilerSpanNode extends SpanNode {
|
|||||||
? Row(
|
? Row(
|
||||||
spacing: 6,
|
spacing: 6,
|
||||||
mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [Icon(Symbols.visibility, size: 18), Text(text)],
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
|
children: [
|
||||||
|
Icon(Symbols.visibility, size: 18).padding(top: 1),
|
||||||
|
Flexible(child: Text(text)),
|
||||||
|
],
|
||||||
)
|
)
|
||||||
: Row(
|
: Row(
|
||||||
spacing: 6,
|
spacing: 6,
|
||||||
@@ -541,7 +545,13 @@ class SpoilerSpanNode extends SpanNode {
|
|||||||
color: foregroundColor,
|
color: foregroundColor,
|
||||||
size: 18,
|
size: 18,
|
||||||
),
|
),
|
||||||
Text(text, style: TextStyle(color: foregroundColor)),
|
Flexible(
|
||||||
|
child:
|
||||||
|
Text(
|
||||||
|
'spoiler',
|
||||||
|
style: TextStyle(color: foregroundColor),
|
||||||
|
).tr(),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Reference in New Issue
Block a user