Move experiment scrollbar to bottom of page, make scenarios header sticky (#29)

* Remove newline from promptVariants router

* Move horizontal scroll bar to bottom of OutputsTable

* Make scenarios header sticky
This commit is contained in:
arcticfly
2023-07-10 11:40:02 -07:00
committed by GitHub
parent e64a94e06e
commit 96dacb0378
3 changed files with 7 additions and 4 deletions

View File

@@ -16,6 +16,7 @@ import {
useDisclosure,
Text,
HStack,
VStack,
} from "@chakra-ui/react";
import Link from "next/link";
@@ -123,7 +124,7 @@ export default function Experiment() {
return (
<AppShell title={experiment.data?.label}>
<Box minH="100%" pb={50}>
<VStack h="full">
<Flex
px={4}
py={2}
@@ -172,10 +173,10 @@ export default function Experiment() {
</HStack>
</Flex>
<SettingsDrawer />
<Box w="100%" overflowX="auto">
<Box w="100%" overflowX="auto" flex={1}>
<OutputsTable experimentId={router.query.id as string | undefined} />
</Box>
</Box>
</VStack>
</AppShell>
);
}