mirror of
https://github.com/Dr-Blank/Vaani.git
synced 2025-12-24 03:49:30 +00:00
fix: adjust grid aspect ratio to prevent overflow
- Change childAspectRatio from 0.75 to 0.68 for more vertical space - Fixes 'bottom overflowed by X pixels' error in grid cards - Provides adequate space for square cover + title + author text - Cards are slightly taller but layout is now correct
This commit is contained in:
parent
8667bd03dd
commit
5094915086
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ class FilteredLibraryItemsPage extends HookConsumerWidget {
|
|||
padding: const EdgeInsets.all(16),
|
||||
gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount(
|
||||
crossAxisCount: 3,
|
||||
childAspectRatio: 0.75,
|
||||
childAspectRatio: 0.68,
|
||||
crossAxisSpacing: 12,
|
||||
mainAxisSpacing: 16,
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue