Skip to content

Commit

Permalink
chore: Design follow up
Browse files Browse the repository at this point in the history
  • Loading branch information
krille-chan committed Nov 3, 2024
1 parent 972c58b commit 640e2ff
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions lib/pages/chat/events/message.dart
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,8 @@ class Message extends StatelessWidget {
Row(
children: [
Expanded(
child: Divider(color: theme.colorScheme.secondary),
child:
Divider(color: theme.colorScheme.surfaceContainerHighest),
),
Container(
margin: const EdgeInsets.symmetric(
Expand All @@ -522,18 +523,24 @@ class Message extends StatelessWidget {
),
padding: const EdgeInsets.symmetric(
horizontal: 8,
vertical: 2,
),
decoration: BoxDecoration(
borderRadius:
BorderRadius.circular(AppConfig.borderRadius / 3),
color: theme.colorScheme.surface.withAlpha(128),
),
child: Text(
L10n.of(context).readUpToHere,
style: TextStyle(
fontWeight: FontWeight.bold,
fontSize: 12 * AppConfig.fontSizeFactor,
color: theme.colorScheme.secondary,
),
),
),
Expanded(
child: Divider(color: theme.colorScheme.secondary),
child:
Divider(color: theme.colorScheme.surfaceContainerHighest),
),
],
),
Expand Down

0 comments on commit 640e2ff

Please sign in to comment.