[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 = () => {
|
export const SidebarSection = () => {
|
||||||
return (
|
return (
|
||||||
<div className={styles.container}>
|
<div className={styles.container}>
|
||||||
<div className={styles.tabs_wrapper}>
|
<div className={styles.scroll_container}>
|
||||||
<Tab tab_id="device" />
|
<div className={styles.tabs_wrapper}>
|
||||||
<Tab tab_id="appearance" />
|
<Tab tab_id="device" />
|
||||||
<Tab tab_id="translation" />
|
<Tab tab_id="appearance" />
|
||||||
<Tab tab_id="transcription" />
|
<Tab tab_id="translation" />
|
||||||
<Tab tab_id="vr" />
|
<Tab tab_id="transcription" />
|
||||||
<Tab tab_id="others" />
|
<Tab tab_id="vr" />
|
||||||
<Tab tab_id="hotkeys" />
|
<Tab tab_id="others" />
|
||||||
<Tab tab_id="advanced_settings" />
|
<Tab tab_id="hotkeys" />
|
||||||
</div>
|
<Tab tab_id="advanced_settings" />
|
||||||
<div className={styles.separated_tabs_wrapper}>
|
</div>
|
||||||
<Tab tab_id="supporters" />
|
<div className={styles.separated_tabs_wrapper}>
|
||||||
<Tab tab_id="about_vrct" />
|
<Tab tab_id="supporters" />
|
||||||
|
<Tab tab_id="about_vrct" />
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -1,10 +1,15 @@
|
|||||||
.container {
|
.container {
|
||||||
width: var(--config_page_sidebar_width);
|
width: var(--config_page_sidebar_width);
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
|
padding: 0rem 0rem 5.8rem 1.2rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
.scroll_container {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
padding: 0rem 0rem 5.8rem 1.2rem;
|
overflow-y: auto;
|
||||||
|
height: 100%;
|
||||||
max-height: 60rem;
|
max-height: 60rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user