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

@@ -53,6 +53,9 @@ export default function OutputsTable({ experimentId }: { experimentId: string |
rowSpan={headerRows}
px={cellPadding.x}
py={cellPadding.y}
// TODO: This is a hack to get the sticky header to work. It's not ideal because it's not responsive to the height of the header,
// so if the header height changes, this will need to be updated.
sx={{...stickyHeaderStyle, top: "-336px"}}
>
<HStack w="100%">
<Heading size="xs" fontWeight="bold" flex={1}>