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 b5046d9 commit a3f2275Copy full SHA for a3f2275
lib/src/replaced_element.dart
@@ -311,7 +311,7 @@ class RubyElement extends ReplacedElement {
311
List<Widget> widgets = List<Widget>();
312
//TODO calculate based off of parent font size.
313
final rubySize = max(9.0, context.style.fontSize.size / 2);
314
- final rubyYPos = rubySize + 2;
+ final rubyYPos = rubySize + rubySize / 2;
315
element.nodes.forEach((c) {
316
if (c.nodeType == dom.Node.TEXT_NODE) {
317
textNode = c;
0 commit comments