We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab2a22b commit eb08b01Copy full SHA for eb08b01
lib/src/replaced_element.dart
@@ -127,12 +127,15 @@ class RubyElement extends ReplacedElement {
127
node = c;
128
}
129
});
130
- return Row(
+ return Wrap(
131
key: AnchorKey.of(context.parser.key, this),
132
- crossAxisAlignment: CrossAxisAlignment.end,
133
- textBaseline: TextBaseline.alphabetic,
134
- mainAxisSize: MainAxisSize.min,
135
- children: widgets,
+ runSpacing: rubySize,
+ children: widgets.map((e) => Row(
+ crossAxisAlignment: CrossAxisAlignment.end,
+ textBaseline: TextBaseline.alphabetic,
136
+ mainAxisSize: MainAxisSize.min,
137
+ children: [e],
138
+ )).toList(),
139
);
140
141
0 commit comments