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 2a3306e commit 2ad0e17Copy full SHA for 2ad0e17
lib/message_list.dart
@@ -95,8 +95,9 @@ class MessageItem extends StatelessWidget {
95
throw Exception("impossible message type: ${message.runtimeType}");
96
}
97
98
- // TODO fine-tune width of recipient border
99
- final recipientBorder = BorderSide(color: highlightBorderColor, width: 4);
+ // This 3px border seems to accurately reproduce something much more
+ // complicated on web, involving CSS box-shadow; see comment below.
100
+ final recipientBorder = BorderSide(color: highlightBorderColor, width: 3);
101
final restBorder = BorderSide(color: restBorderColor, width: 1);
102
var borderDecoration = ShapeDecoration(
103
// Web actually uses, for stream messages, a slightly lighter border at
0 commit comments