From e39f77704e58c8d67c61b0053f96e1176d624ad1 Mon Sep 17 00:00:00 2001 From: Sakamoto Shiina <68018796+ShiinaSakamoto@users.noreply.github.com> Date: Thu, 30 Jan 2025 21:19:50 +0900 Subject: [PATCH] [Update] Config Page: Side menu: Add scroll bar. --- .../sidebar_section/SidebarSection.jsx | 28 ++++++++++--------- .../SidebarSection.module.scss | 7 ++++- 2 files changed, 21 insertions(+), 14 deletions(-) diff --git a/src-ui/app/config_page/sidebar_section/SidebarSection.jsx b/src-ui/app/config_page/sidebar_section/SidebarSection.jsx index 292bb7cb..6938f97f 100644 --- a/src-ui/app/config_page/sidebar_section/SidebarSection.jsx +++ b/src-ui/app/config_page/sidebar_section/SidebarSection.jsx @@ -3,19 +3,21 @@ import styles from "./SidebarSection.module.scss"; export const SidebarSection = () => { return (
-
- - - - - - - - -
-
- - +
+
+ + + + + + + + +
+
+ + +
); diff --git a/src-ui/app/config_page/sidebar_section/SidebarSection.module.scss b/src-ui/app/config_page/sidebar_section/SidebarSection.module.scss index 4ce94043..383ef8cb 100644 --- a/src-ui/app/config_page/sidebar_section/SidebarSection.module.scss +++ b/src-ui/app/config_page/sidebar_section/SidebarSection.module.scss @@ -1,10 +1,15 @@ .container { width: var(--config_page_sidebar_width); flex-shrink: 0; + padding: 0rem 0rem 5.8rem 1.2rem; +} + +.scroll_container { display: flex; flex-direction: column; justify-content: space-between; - padding: 0rem 0rem 5.8rem 1.2rem; + overflow-y: auto; + height: 100%; max-height: 60rem; }