[Update] Main Page: Sidebar: Add scroll bar to compact mode.
This commit is contained in:
@@ -8,8 +8,8 @@
|
|||||||
&.is_compact_mode {
|
&.is_compact_mode {
|
||||||
min-width: auto;
|
min-width: auto;
|
||||||
.scroll_container {
|
.scroll_container {
|
||||||
overflow-y: hidden;
|
// overflow-y: hidden;
|
||||||
width: auto;
|
// width: auto;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -92,11 +92,11 @@ export const SwitchContainer = ({ switchLabel, switch_id, children, currentState
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={getClassNames(styles.switch_container)}
|
<div className={getClassNames(styles.switch_container)}
|
||||||
onMouseEnter={onMouseEnter}
|
onMouseEnter={onMouseEnter}
|
||||||
onMouseLeave={onMouseLeave}
|
onMouseLeave={onMouseLeave}
|
||||||
onMouseDown={onMouseDown}
|
onMouseDown={onMouseDown}
|
||||||
onMouseUp={onMouseUp}
|
onMouseUp={onMouseUp}
|
||||||
onClick={toggleFunction}
|
onClick={toggleFunction}
|
||||||
>
|
>
|
||||||
<div className={styles.label_wrapper}>
|
<div className={styles.label_wrapper}>
|
||||||
<SvgComponent className={getClassNames(styles.switch_svg)} />
|
<SvgComponent className={getClassNames(styles.switch_svg)} />
|
||||||
|
|||||||
@@ -22,6 +22,7 @@
|
|||||||
}
|
}
|
||||||
&.is_compact_mode {
|
&.is_compact_mode {
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
&.is_pending {
|
&.is_pending {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
|||||||
Reference in New Issue
Block a user