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