Skip to content

Commit 2ad0e17

Browse files
committed
msglist: Tune the left highlight-border's width
1 parent 2a3306e commit 2ad0e17

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lib/message_list.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,9 @@ class MessageItem extends StatelessWidget {
9595
throw Exception("impossible message type: ${message.runtimeType}");
9696
}
9797

98-
// TODO fine-tune width of recipient border
99-
final recipientBorder = BorderSide(color: highlightBorderColor, width: 4);
98+
// This 3px border seems to accurately reproduce something much more
99+
// complicated on web, involving CSS box-shadow; see comment below.
100+
final recipientBorder = BorderSide(color: highlightBorderColor, width: 3);
100101
final restBorder = BorderSide(color: restBorderColor, width: 1);
101102
var borderDecoration = ShapeDecoration(
102103
// Web actually uses, for stream messages, a slightly lighter border at

0 commit comments

Comments
 (0)