add explicit width

This commit is contained in:
2026-02-10 13:15:25 -05:00
parent 6053d4d02c
commit ce022dc447
6 changed files with 6 additions and 6 deletions

View File

@@ -37,14 +37,13 @@ export function DiscoverPage(props: PageProps) {
const { theme } = useTheme(); const { theme } = useTheme();
return ( return (
<box flexDirection="row" flexGrow={1} height="100%" gap={1}> <box flexDirection="row" flexGrow={1} height="100%" width="100%" gap={1}>
<box <box
border border
padding={1} padding={1}
borderColor={theme.border} borderColor={theme.border}
flexDirection="column" flexDirection="column"
gap={1} gap={1}
width={20}
> >
<text <text
fg={ fg={

View File

@@ -46,6 +46,7 @@ export function FeedPage(props: PageProps) {
backgroundColor={theme.background} backgroundColor={theme.background}
flexDirection="column" flexDirection="column"
height="100%" height="100%"
width="100%"
> >
{/* Status line */} {/* Status line */}
<Show when={isRefreshing()}> <Show when={isRefreshing()}>

View File

@@ -128,7 +128,7 @@ export function MyShowsPage(props: PageProps) {
}; };
return ( return (
<box flexDirection="row" flexGrow={1}> <box flexDirection="row" flexGrow={1} width="100%">
<box flexDirection="column" height="100%"> <box flexDirection="column" height="100%">
<Show when={isRefreshing()}> <Show when={isRefreshing()}>
<text fg="yellow">Refreshing...</text> <text fg="yellow">Refreshing...</text>

View File

@@ -25,7 +25,7 @@ export function PlayerPage(props: PageProps) {
}; };
return ( return (
<box flexDirection="column" gap={1}> <box flexDirection="column" gap={1} width="100%">
<box flexDirection="row" justifyContent="space-between"> <box flexDirection="row" justifyContent="space-between">
<text> <text>
<strong>Now Playing</strong> <strong>Now Playing</strong>

View File

@@ -57,7 +57,7 @@ export function SearchPage(props: PageProps) {
}; };
return ( return (
<box flexDirection="column" height="100%" gap={1}> <box flexDirection="column" height="100%" gap={1} width="100%">
{/* Search Header */} {/* Search Header */}
<box flexDirection="column" gap={1}> <box flexDirection="column" gap={1}>
<text> <text>

View File

@@ -31,7 +31,7 @@ export function SettingsPage(props: PageProps) {
); );
return ( return (
<box flexDirection="column" gap={1} height="100%"> <box flexDirection="column" gap={1} height="100%" width="100%">
<box flexDirection="row" gap={1}> <box flexDirection="row" gap={1}>
<For each={SECTIONS}> <For each={SECTIONS}>
{(section, index) => ( {(section, index) => (