Skip to content

Commit 95e1b46

Browse files
authored
Set overflow scroll behaviour to auto (#576)
* Set breadcrumb overflow scroll behaviour to auto This stops the scrollbar always being shown when device preferences are set to show scrollbars * Set sidebar container overflow behaviour to auto * Set query filter overlay overflow behaviour to auto
1 parent 0dfa2e4 commit 95e1b46

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

mu-plugins/blocks/query-filter/src/style.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
margin: 0;
122122
padding: var(--wp--preset--spacing--10);
123123
max-height: 18rem;
124-
overflow: scroll;
124+
overflow-y: auto;
125125
border: none;
126126
}
127127

mu-plugins/blocks/sidebar-container/postcss/style.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

3131
width: var(--local--block-end-sidebar--width);
3232
padding-bottom: var(--local--padding);
33-
overflow-y: scroll;
33+
overflow-y: auto;
3434
overscroll-behavior: contain;
3535
scrollbar-color: var(--wp--preset--color--charcoal-5) transparent;
3636

mu-plugins/blocks/site-breadcrumbs/postcss/style.pcss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212

1313
& .wporg-site-breadcrumbs__wrapper {
14-
overflow: scroll;
14+
overflow-x: auto;
1515
text-overflow: clip;
1616
white-space: nowrap;
1717

0 commit comments

Comments
 (0)