File tree Expand file tree Collapse file tree 6 files changed +26
-7
lines changed
tests/src/__screenshots__
firefox/visual-regression.spec.js
webkit/visual-regression.spec.js Expand file tree Collapse file tree 6 files changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -732,7 +732,7 @@ atomic-search-interface {
732
732
margin-top : 2rem ;
733
733
}
734
734
735
- atomic -search-box {
735
+ . header -search-box {
736
736
& ::part (wrapper ) {
737
737
border-radius : 0 ;
738
738
border-color : oklch (var (--color-foreground ));
@@ -770,15 +770,15 @@ atomic-query-summary {
770
770
atomic-search-layout {
771
771
grid-template-areas :
772
772
"atomic-section-search"
773
+ "atomic-section-status"
773
774
"atomic-section-facets"
774
- "atomic-section-main"
775
- "." !important ;
775
+ "atomic-section-main" ;
776
776
777
777
grid-template-columns : minmax (50% , 100% ) !important ;
778
778
779
779
@media (min-width : 1024px ) {
780
780
grid-template-areas :
781
- ". atomic-section-search"
781
+ "atomic-section-search atomic-section-status "
782
782
"atomic-section-facets atomic-section-main "
783
783
"atomic-section-facets . " !important ;
784
784
@@ -787,10 +787,17 @@ atomic-search-layout {
787
787
}
788
788
}
789
789
790
- atomic-search-layout atomic-layout-section [section = "search " ] {
790
+ atomic-search-layout atomic-layout-section [section = "status " ] {
791
791
/* Override Coveo's width to be full */
792
792
max-width : 100% ;
793
+ display : block;
794
+ width : 100% ;
795
+ }
796
+
797
+ atomic-search-layout atomic-layout-section [section = "search" ] {
798
+ /* Override Coveo's width to be full */
793
799
width : 100% !important ;
800
+ max-width : 100% !important ;
794
801
}
795
802
796
803
.atomic-full-summary-and-sort {
Original file line number Diff line number Diff line change
1
+ ---
2
+ type : search
3
+ title : Search
4
+ params :
5
+ searchOnPage : true
6
+ url : search.html
7
+ ---
Original file line number Diff line number Diff line change 1
1
< atomic-search-interface id ="search-standalone-header " data-mf ="true " style ="display:none; ">
2
- < atomic-search-box redirection-url ="/search.html ">
2
+ < atomic-search-box redirection-url ="/search.html " class =" header-search-box " >
3
3
</ atomic-search-box >
4
4
</ atomic-search-interface >
Original file line number Diff line number Diff line change 1
1
< atomic-search-interface id ="search-v2 ">
2
2
< atomic-search-layout >
3
3
<!-- Search/Metadata Section -->
4
- < atomic-layout-section section ="search ">
4
+ {{ if .Params.searchOnPage }}
5
+ < atomic-layout-section section ="search ">
6
+ < atomic-search-box > </ atomic-search-box >
7
+ </ atomic-layout-section >
8
+ {{ end }}
9
+ < atomic-layout-section section ="status ">
5
10
< div class ="atomic-full-summary-and-sort ">
6
11
< atomic-refine-toggle > </ atomic-refine-toggle >
7
12
< atomic-query-summary > </ atomic-query-summary >
You can’t perform that action at this time.
0 commit comments