Skip to content

Commit

Permalink
Set overflow scroll behaviour to auto (#576)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
adamwoodnz authored Feb 19, 2024
1 parent 0dfa2e4 commit 95e1b46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mu-plugins/blocks/query-filter/src/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
margin: 0;
padding: var(--wp--preset--spacing--10);
max-height: 18rem;
overflow: scroll;
overflow-y: auto;
border: none;
}

Expand Down
2 changes: 1 addition & 1 deletion mu-plugins/blocks/sidebar-container/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

width: var(--local--block-end-sidebar--width);
padding-bottom: var(--local--padding);
overflow-y: scroll;
overflow-y: auto;
overscroll-behavior: contain;
scrollbar-color: var(--wp--preset--color--charcoal-5) transparent;

Expand Down
2 changes: 1 addition & 1 deletion mu-plugins/blocks/site-breadcrumbs/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
}

& .wporg-site-breadcrumbs__wrapper {
overflow: scroll;
overflow-x: auto;
text-overflow: clip;
white-space: nowrap;

Expand Down

0 comments on commit 95e1b46

Please sign in to comment.