From ae825e1b6719fe192fb11b24a8f44623f59a4d54 Mon Sep 17 00:00:00 2001 From: Gauvain Date: Fri, 19 Jun 2026 21:39:58 +0200 Subject: [PATCH] fix(tv): center option label when no checkmark shown The inner row applied a constant left padding meant to balance the checkmark group on selected cards. On base cards (no checkmark) it pushed the label slightly right, off-center. Apply the offset only when the checkmark is rendered (selected and unfocused). --- components/tv/TVOptionCard.tsx | 53 +++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 23 deletions(-) diff --git a/components/tv/TVOptionCard.tsx b/components/tv/TVOptionCard.tsx index 200f2a9f..0bb16c88 100644 --- a/components/tv/TVOptionCard.tsx +++ b/components/tv/TVOptionCard.tsx @@ -61,17 +61,39 @@ export const TVOptionCard = React.forwardRef( }, ]} > - - {label} - + + {label} + + {selected && !focused && ( + + )} + {sublabel && ( ( {sublabel} )} - {selected && !focused && ( - - - - )} );