Skip to content

Commit

Permalink
Tune Chip UX
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej-Hlatky committed Nov 16, 2024
1 parent c63cab9 commit 1cc2d13
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ui/widgets/chip.dart
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ class Chip extends StatelessWidget {
border: Border.all(color: border, width: 1),
borderRadius: const BorderRadius.all(Radius.circular(4)),
),
padding: const EdgeInsets.all(4),
padding: const EdgeInsets.only(left: 8, top: 6, bottom: 6, right: 12),
child: Row(
children: [
if (leading != null) leading!,
if (leading != null) const SizedBox(width: 8),
Text(label, style: TextStyle(color: foreground)),
],
),
Expand Down

0 comments on commit 1cc2d13

Please sign in to comment.