fix: reduce blank space in media card bottom

This commit is contained in:
edde746
2026-04-08 07:21:21 +02:00
parent f926deb63b
commit 8d40ba3011
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -409,7 +409,7 @@ class HubSectionState extends State<HubSection> {
(9 / 16) // 16:9 for wide layout
: posterWidth * 1.5; // 2:3 for poster layout
final containerHeight = posterHeight + 48;
final containerHeight = posterHeight + 33;
final focusBorderWidth = FocusTheme.focusBorderWidth;
final focusExtra = focusBorderWidth * 2; // border on both sides
_itemExtent = cardWidth + focusExtra + 4;
+2 -1
View File
@@ -234,8 +234,9 @@ class MediaCardState extends State<MediaCard> {
onSecondaryTap: _showContextMenu,
borderRadius: BorderRadius.circular(tokens(context).radiusSm),
child: Padding(
padding: const EdgeInsets.all(3),
padding: const EdgeInsets.fromLTRB(3, 3, 3, 1),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// Poster with overlay