mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-06-30 01:22:56 +01:00
fix(tv): stop season-select card content from collapsing (flex:1)
The season info container used flex:1 inside the card, but the card is an auto-height column — flex:1 (flexBasis:0) collapsed the box to ~0 height, so the season number and episode count never had room to render (only the explicitly-sized checkmark/status icons showed). Size the container to its content instead. Claude-Session: https://claude.ai/code/session_016Hhu5DruGLPhdP4LAoy1Xd
This commit is contained in:
@@ -421,7 +421,10 @@ const styles = StyleSheet.create({
|
||||
marginBottom: 8,
|
||||
},
|
||||
seasonInfo: {
|
||||
flex: 1,
|
||||
// Note: no `flex: 1` here — the card is an auto-height column, so flex:1
|
||||
// (flexBasis: 0) would collapse this box and hide the text. Let it size to
|
||||
// its content instead.
|
||||
alignSelf: "stretch",
|
||||
},
|
||||
seasonTitle: {
|
||||
fontWeight: "600",
|
||||
|
||||
Reference in New Issue
Block a user