File tree Expand file tree Collapse file tree 2 files changed +27
-13
lines changed
Expand file tree Collapse file tree 2 files changed +27
-13
lines changed Original file line number Diff line number Diff line change @@ -349,6 +349,32 @@ ol li:last-child {
349349 }
350350}
351351
352+ /* Homepage specific layout */
353+ .grid-container : has (.homepage ) {
354+ grid-template-columns : 1fr ;
355+ grid-template-areas :
356+ "header"
357+ "content"
358+ "footer" ;
359+
360+ .sidebar {
361+ display : none;
362+ }
363+ }
364+
365+ /* Search specific layout */
366+ .grid-container : has (.search ) {
367+ grid-template-columns : 1fr ;
368+ grid-template-areas :
369+ "header"
370+ "content"
371+ "footer" ;
372+
373+ .sidebar {
374+ display : none;
375+ }
376+ }
377+
352378.header {
353379 grid-area : header;
354380 display : flex;
@@ -577,18 +603,6 @@ nav {
577603/* MARK: Homepage
578604*/
579605
580- .grid-container : has (.homepage ) {
581- grid-template-columns : 1fr ;
582- grid-template-areas :
583- "header"
584- "content"
585- "footer" ;
586-
587- .sidebar {
588- display : none;
589- }
590- }
591-
592606.homepage {
593607 --content-max-width : 120rem ;
594608
Original file line number Diff line number Diff line change 11{{ define "main" }}
2- < section class ="main-layout " style ="margin-left: 2rem; " >
2+ < section class ="search " style ="margin-left: 2rem; " >
33 {{ partial "coveo-atomic.html" .}}
44</ section >
55{{ end }}
You can’t perform that action at this time.
0 commit comments