[Update] Config Page: Side menu: Add scroll bar.
This commit is contained in:
@@ -3,19 +3,21 @@ import styles from "./SidebarSection.module.scss";
|
||||
export const SidebarSection = () => {
|
||||
return (
|
||||
<div className={styles.container}>
|
||||
<div className={styles.tabs_wrapper}>
|
||||
<Tab tab_id="device" />
|
||||
<Tab tab_id="appearance" />
|
||||
<Tab tab_id="translation" />
|
||||
<Tab tab_id="transcription" />
|
||||
<Tab tab_id="vr" />
|
||||
<Tab tab_id="others" />
|
||||
<Tab tab_id="hotkeys" />
|
||||
<Tab tab_id="advanced_settings" />
|
||||
</div>
|
||||
<div className={styles.separated_tabs_wrapper}>
|
||||
<Tab tab_id="supporters" />
|
||||
<Tab tab_id="about_vrct" />
|
||||
<div className={styles.scroll_container}>
|
||||
<div className={styles.tabs_wrapper}>
|
||||
<Tab tab_id="device" />
|
||||
<Tab tab_id="appearance" />
|
||||
<Tab tab_id="translation" />
|
||||
<Tab tab_id="transcription" />
|
||||
<Tab tab_id="vr" />
|
||||
<Tab tab_id="others" />
|
||||
<Tab tab_id="hotkeys" />
|
||||
<Tab tab_id="advanced_settings" />
|
||||
</div>
|
||||
<div className={styles.separated_tabs_wrapper}>
|
||||
<Tab tab_id="supporters" />
|
||||
<Tab tab_id="about_vrct" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user