From 97265c23ce55509c48daf6275030d9ce431859bf Mon Sep 17 00:00:00 2001 From: Maxime Lalo Date: Thu, 3 Aug 2023 14:54:59 +0200 Subject: [PATCH] :bug: Fixing lists heights and overflows --- .../DesignSystem/FolderListContainer/classes.module.scss | 6 ++++-- .../DeedTypeListContainer/classes.module.scss | 1 + .../DocumentTypeListContainer/classes.module.scss | 1 + .../OfficeListContainer/classes.module.scss | 4 +++- .../RoleListContainer/classes.module.scss | 4 +++- .../UserListContainer/classes.module.scss | 4 +++- 6 files changed, 15 insertions(+), 5 deletions(-) diff --git a/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss b/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss index b11dc6ba..d787f90f 100644 --- a/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss +++ b/src/front/Components/DesignSystem/FolderListContainer/classes.module.scss @@ -15,7 +15,9 @@ } .folderlist-container { - height: 100%; + max-height: calc(100vh - 290px); + height: calc(100vh - 290px); + overflow: auto; border-right: 1px solid var(--grey-medium); } -} \ No newline at end of file +} diff --git a/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/DeedTypeListContainer/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/DeedTypeListContainer/classes.module.scss index f5b589bb..d787f90f 100644 --- a/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/DeedTypeListContainer/classes.module.scss +++ b/src/front/Components/LayoutTemplates/DefaultDeedTypeDashboard/DeedTypeListContainer/classes.module.scss @@ -16,6 +16,7 @@ .folderlist-container { max-height: calc(100vh - 290px); + height: calc(100vh - 290px); overflow: auto; border-right: 1px solid var(--grey-medium); } diff --git a/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/DocumentTypeListContainer/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/DocumentTypeListContainer/classes.module.scss index 15e841c8..b8bae18e 100644 --- a/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/DocumentTypeListContainer/classes.module.scss +++ b/src/front/Components/LayoutTemplates/DefaultDocumentTypesDashboard/DocumentTypeListContainer/classes.module.scss @@ -16,6 +16,7 @@ .folderlist-container { max-height: calc(100vh - 290px); + height: calc(100vh - 290px); overflow: auto; border-right: 1px solid var(--grey-medium); } diff --git a/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/OfficeListContainer/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/OfficeListContainer/classes.module.scss index 300d46f2..a27e911b 100644 --- a/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/OfficeListContainer/classes.module.scss +++ b/src/front/Components/LayoutTemplates/DefaultOfficeDashboard/OfficeListContainer/classes.module.scss @@ -15,7 +15,9 @@ } .folderlist-container { - height: 100%; + max-height: 100vh; + height: 100vh; + overflow: auto; border-right: 1px solid var(--grey-medium); } } diff --git a/src/front/Components/LayoutTemplates/DefaultRoleDashboard/RoleListContainer/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultRoleDashboard/RoleListContainer/classes.module.scss index 300d46f2..a27e911b 100644 --- a/src/front/Components/LayoutTemplates/DefaultRoleDashboard/RoleListContainer/classes.module.scss +++ b/src/front/Components/LayoutTemplates/DefaultRoleDashboard/RoleListContainer/classes.module.scss @@ -15,7 +15,9 @@ } .folderlist-container { - height: 100%; + max-height: 100vh; + height: 100vh; + overflow: auto; border-right: 1px solid var(--grey-medium); } } diff --git a/src/front/Components/LayoutTemplates/DefaultUserDashboard/UserListContainer/classes.module.scss b/src/front/Components/LayoutTemplates/DefaultUserDashboard/UserListContainer/classes.module.scss index 300d46f2..a27e911b 100644 --- a/src/front/Components/LayoutTemplates/DefaultUserDashboard/UserListContainer/classes.module.scss +++ b/src/front/Components/LayoutTemplates/DefaultUserDashboard/UserListContainer/classes.module.scss @@ -15,7 +15,9 @@ } .folderlist-container { - height: 100%; + max-height: 100vh; + height: 100vh; + overflow: auto; border-right: 1px solid var(--grey-medium); } }