File tree Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Expand file tree Collapse file tree 3 files changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -725,13 +725,6 @@ body:not(:has(.main-layout)) header atomic-search-interface {
725725 }
726726}
727727
728- @media (max-width : 1023px ) {
729- /* Show on search page with facet if it is hidden */
730- body : has (atomic-search-layout ) header atomic-search-interface {
731- display : block;
732- }
733- }
734-
735728/* MARK: Product Selector
736729*/
737730
Original file line number Diff line number Diff line change @@ -16,3 +16,19 @@ document.addEventListener('click', (e) => {
1616 }
1717 }
1818} ) ;
19+
20+ document . addEventListener ( 'DOMContentLoaded' , ( ) => {
21+ const sidebar = document . querySelector ( '.sidebar__ul' ) ;
22+
23+ if ( ! sidebar ) return ;
24+
25+ const activeLink = sidebar . querySelector ( '.sidebar__link--current' ) ;
26+
27+ if ( activeLink ) {
28+ activeLink . scrollIntoView ( {
29+ behavior : 'auto' ,
30+ block : 'center' ,
31+ inline : 'nearest' ,
32+ } ) ;
33+ }
34+ } ) ;
Original file line number Diff line number Diff line change 121121
122122 <!-- Facet Section -->
123123 < atomic-layout-section section ="facets ">
124- < atomic-search-box id ="search-standalone-searchpage "> </ atomic-search-box >
125124 < atomic-facet field ="f5_product " label ="Show by product "> </ atomic-facet >
126125 < atomic-refine-toggle > </ atomic-refine-toggle >
127126 </ atomic-layout-section >
You can’t perform that action at this time.
0 commit comments