Fix baseline in lists (#170)

This commit is contained in:
神楽坂花火
2020-06-13 20:15:15 +08:00
committed by GitHub
parent e7178d5979
commit 80b982a386

View File

@ -264,8 +264,10 @@ class MarkdownBuilder implements md.NodeVisitor {
} else { } else {
bullet = _buildBullet(_listIndents.last); bullet = _buildBullet(_listIndents.last);
} }
// See #147 and #169
child = Row( child = Row(
crossAxisAlignment: CrossAxisAlignment.start, // See #147 textBaseline: TextBaseline.alphabetic,
crossAxisAlignment: CrossAxisAlignment.baseline,
children: <Widget>[ children: <Widget>[
SizedBox( SizedBox(
width: styleSheet.listIndent, width: styleSheet.listIndent,