Skip to content

Commit 2f0af19

Browse files
committed
content: Use 17 for base font size (and height 22), like in Figma
Discussion: https://chat.zulip.org/#narrow/stream/48-mobile/topic/density.20in.20message.20list/near/1735140 Fixes: zulip#512
1 parent d555bb9 commit 2f0af19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/widgets/content.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import 'store.dart';
1919
import 'text.dart';
2020

2121
/// The font size for message content in a plain unstyled paragraph.
22-
const double kBaseFontSize = 14;
22+
const double kBaseFontSize = 17;
2323

2424
/// The entire content of a message, aka its body.
2525
///
@@ -112,7 +112,7 @@ class Paragraph extends StatelessWidget {
112112

113113
static const textStyle = TextStyle(
114114
fontSize: kBaseFontSize,
115-
height: (17 / kBaseFontSize),
115+
height: (22 / kBaseFontSize),
116116
);
117117

118118
@override

0 commit comments

Comments
 (0)