Fix sender's name going outside of bubble

Closes #131.
parent 0a7ac67b
......@@ -253,6 +253,10 @@ class _ContentLayoutRenderBox extends RenderBox
}
}
if (sender != null && width < sender.size.width) {
width = constraints.constrainWidth(sender.size.width);
}
size = Size(width, height);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment