add explicit width
This commit is contained in:
@@ -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={
|
||||||
|
|||||||
@@ -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()}>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user