♻️ Change overflow:scroll to overflow:auto

This commit is contained in:
Baptiste Arnaud
2024-01-25 16:35:16 +01:00
parent 0f245b8e57
commit ab010657b2
29 changed files with 28 additions and 55 deletions

View File

@@ -71,7 +71,7 @@ const LogCard = ({ log }: { log: Log }) => {
</AccordionButton>
<AccordionPanel
as="pre"
overflow="scroll"
overflow="auto"
borderWidth="1px"
borderRadius="md"
>

View File

@@ -232,7 +232,7 @@ export const ResultsTable = ({
</HStack>
<Box
ref={tableWrapper}
overflow="scroll"
overflow="auto"
rounded="md"
data-testid="results-table"
backgroundImage={`linear-gradient(to right, ${background}, ${background}), linear-gradient(to right, ${background}, ${background}),linear-gradient(to right, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0)),linear-gradient(to left, rgba(0, 0, 0, 0.1), rgba(255, 255, 255, 0));`}

View File

@@ -68,13 +68,7 @@ const TableSettingsMenu = ({
switch (selectedMenu) {
case 'columnSettings':
return (
<PopoverBody
as={Stack}
spacing="4"
p="4"
maxH="450px"
overflowY="scroll"
>
<PopoverBody as={Stack} spacing="4" p="4" maxH="450px" overflowY="auto">
<ColumnSettings
resultHeader={resultHeader}
columnVisibility={columnVisibility}