Skip to content

Commit 80ba14e

Browse files
committed
Coveo: Lock scroll when filter modal is open
1 parent 8d89cab commit 80ba14e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

assets/css/v2/style.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1456,6 +1456,12 @@ body:not(:has(.main-layout)) header atomic-search-interface {
14561456
display: block;
14571457
}
14581458

1459+
body:has(atomic-refine-modal[is-open=""]) {
1460+
/* Lock scrolling when modal is up */
1461+
position: fixed;
1462+
width: 100%;
1463+
}
1464+
14591465
@media (max-width: 88rem) {
14601466
/* Show on pages with sidebar if it is hidden */
14611467
body:has(.sidebar-layout) header atomic-search-interface {

0 commit comments

Comments
 (0)