Skip to content

Commit f6bc070

Browse files
committed
fix(discover): align source category view more icon with right edge
- Remove default padding from TextButton to perfectly align the icon with the right edge - Use EdgeInsets.symmetric with vertical AppSpacing.sm for consistent spacing
1 parent 4695966 commit f6bc070

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/discover/view/discover_page.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,12 @@ class _SourceCategoryRowState extends State<_SourceCategoryRow> {
171171
),
172172
),
173173
TextButton(
174+
style: TextButton.styleFrom(
175+
// Remove default padding to align the icon perfectly
176+
// with the right edge.
177+
padding:
178+
const EdgeInsets.symmetric(vertical: AppSpacing.sm),
179+
),
174180
onPressed: () {
175181
context.pushNamed(
176182
Routes.sourceListName,

0 commit comments

Comments
 (0)