fix: reduce blank space in media card bottom
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user