♻️ 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

@@ -98,7 +98,7 @@ const WorkspaceRoleMenuButton = ({
{convertWorkspaceRoleToReadable(role)}
</MenuButton>
<MenuList minW={0}>
<Stack maxH={'35vh'} overflowY="scroll" spacing="0">
<Stack maxH={'35vh'} overflowY="auto" spacing="0">
<MenuItem onClick={() => onChange(WorkspaceRole.ADMIN)}>
{convertWorkspaceRoleToReadable(WorkspaceRole.ADMIN)}
</MenuItem>

View File

@@ -139,8 +139,7 @@ export const WorkspaceSettingsModal = ({
size="sm"
justifyContent="flex-start"
pl="4"
overflow="scroll"
className="hide-scrollbar"
overflow="auto"
>
{t('workspace.settings.modal.menu.billingAndUsage.label')}
</Button>