Skip to content

Commit 29e4e52

Browse files
committed
this makes the collapse button the the slider bigger on mobile - under 720px so it's easier to hit
Signed-off-by: Kai Wagner <kai.wagner@percona.com>
1 parent 12e8860 commit 29e4e52

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

app/assets/stylesheets/components/sidebar.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,25 @@
2626
align-items: center;
2727
justify-content: center;
2828
transition: transform var(--transition-fast), background-color var(--transition-fast);
29+
z-index: 1;
2930
}
3031

3132
.sidebar-collapse-button:hover {
3233
background: var(--color-bg-hover);
3334
transform: scale(1.05);
3435
}
3536

37+
@media (max-width: 720px) {
38+
.layout-sidebar-resizer {
39+
width: 18px;
40+
}
41+
42+
.sidebar-collapse-button {
43+
width: 48px;
44+
height: 48px;
45+
}
46+
}
47+
3648
.sidebar-section {
3749
margin-bottom: var(--spacing-8);
3850
}

0 commit comments

Comments
 (0)