Skip to content

Commit c1b019a

Browse files
committed
Coveo: Refactor to add the coveo filter to mobile
1 parent 9b5f0be commit c1b019a

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

assets/css/v2/style.css

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -728,11 +728,6 @@ atomic-search-interface {
728728
margin-top: 2rem;
729729
}
730730

731-
#search-standalone-sidebar {
732-
min-height: 54px;
733-
max-height: 54px;
734-
}
735-
736731
atomic-search-box {
737732
&::part(wrapper) {
738733
border-radius: 0;
@@ -751,6 +746,16 @@ atomic-search-box {
751746
}
752747
}
753748

749+
atomic-refine-toggle {
750+
display: none;
751+
}
752+
753+
@media (max-width: 1024px) {
754+
atomic-refine-toggle {
755+
display: block;
756+
}
757+
}
758+
754759
atomic-query-summary {
755760
/* Show duration */
756761
&::part(duration) {
@@ -761,6 +766,7 @@ atomic-query-summary {
761766
atomic-search-layout {
762767
grid-template-areas:
763768
"atomic-section-search"
769+
"atomic-section-facets"
764770
"atomic-section-main"
765771
"." !important;
766772

layouts/partials/coveo-atomic.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<!-- Search/Metadata Section -->
44
<atomic-layout-section section="search">
55
<div class="atomic-full-summary-and-sort">
6+
<atomic-refine-toggle></atomic-refine-toggle>
67
<atomic-query-summary></atomic-query-summary>
78
<atomic-sort-dropdown>
89
<atomic-sort-expression label="relevance" expression="relevancy"></atomic-sort-expression>
@@ -14,7 +15,6 @@
1415
<!-- Facet Section -->
1516
<atomic-layout-section section="facets">
1617
<atomic-facet field="f5_product" label="Show by product"></atomic-facet>
17-
<atomic-refine-toggle></atomic-refine-toggle>
1818
</atomic-layout-section>
1919

2020
<!-- Main Section -->

0 commit comments

Comments
 (0)