Skip to content

Commit

Permalink
Query Filter: Hide the modal/dropdown by default on Desktop (#577)
Browse files Browse the repository at this point in the history
* Hide the modal/dropdown by default on Desktop
  • Loading branch information
dd32 authored Feb 15, 2024
1 parent a14fdd0 commit d5750d9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions mu-plugins/blocks/query-filter/src/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
@media (max-width: 889px) {
z-index: 100000; /* admin bar + 1. */
}

& .wporg-query-filter__modal {
display: block;
}
}
}

Expand Down Expand Up @@ -106,6 +110,7 @@
var(--wp--custom--wporg-query-filters--border--color);
background-color: var(--wp--custom--wporg-query-filters--color--background);
color: var(--wp--custom--wporg-query-filters--color--text);
display: none;

& .wporg-query-filter__modal-header {
display: none;
Expand Down Expand Up @@ -250,7 +255,6 @@
}

.wporg-query-filter__modal {
display: none;
position: fixed;
top: 20vh;
bottom: 20vh;
Expand Down Expand Up @@ -302,10 +306,6 @@


.is-modal-open {
& .wporg-query-filter__modal {
display: block;
}

& .wporg-query-filter__modal-backdrop {
display: block;
}
Expand Down

0 comments on commit d5750d9

Please sign in to comment.