File tree Expand file tree Collapse file tree 1 file changed +12
-9
lines changed
Expand file tree Collapse file tree 1 file changed +12
-9
lines changed Original file line number Diff line number Diff line change @@ -127,15 +127,18 @@ class RubyElement extends ReplacedElement {
127127 node = c;
128128 }
129129 });
130- return Wrap (
131- key: AnchorKey .of (context.parser.key, this ),
132- runSpacing: rubySize,
133- children: widgets.map ((e) => Row (
134- crossAxisAlignment: CrossAxisAlignment .end,
135- textBaseline: TextBaseline .alphabetic,
136- mainAxisSize: MainAxisSize .min,
137- children: [e],
138- )).toList (),
130+ return Padding (
131+ padding: EdgeInsets .only (top: rubySize),
132+ child: Wrap (
133+ key: AnchorKey .of (context.parser.key, this ),
134+ runSpacing: rubySize,
135+ children: widgets.map ((e) => Row (
136+ crossAxisAlignment: CrossAxisAlignment .end,
137+ textBaseline: TextBaseline .alphabetic,
138+ mainAxisSize: MainAxisSize .min,
139+ children: [e],
140+ )).toList (),
141+ ),
139142 );
140143 }
141144}
You can’t perform that action at this time.
0 commit comments