diff --git a/packages/marko-web-theme-monorail/scss/components/_search-page.scss b/packages/marko-web-theme-monorail/scss/components/_search-page.scss index 5123d63cc..0ec6c451e 100644 --- a/packages/marko-web-theme-monorail/scss/components/_search-page.scss +++ b/packages/marko-web-theme-monorail/scss/components/_search-page.scss @@ -163,13 +163,14 @@ .search-sponsor { display: flex; align-items: center; + margin-top: 1rem; &__label { @include skin-typography($style: "input-label"); padding: 0; margin-right: 1rem; margin-bottom: 12px; - font-size: 17px; + font-size: 12px; font-weight: $font-weight-semibold; color: $gray-800; text-transform: uppercase; diff --git a/packages/marko-web-theme-monorail/scss/components/_site-navbar.scss b/packages/marko-web-theme-monorail/scss/components/_site-navbar.scss index dd0068c10..a80a0ad31 100644 --- a/packages/marko-web-theme-monorail/scss/components/_site-navbar.scss +++ b/packages/marko-web-theme-monorail/scss/components/_site-navbar.scss @@ -62,7 +62,7 @@ margin-bottom: 0; } img { - margin-left: .5rem; + margin-left: 12px; max-height: 24px; } } diff --git a/packages/marko-web-theme-monorail/templates/search.marko b/packages/marko-web-theme-monorail/templates/search.marko index 4ee836afd..d059f9090 100644 --- a/packages/marko-web-theme-monorail/templates/search.marko +++ b/packages/marko-web-theme-monorail/templates/search.marko @@ -19,7 +19,7 @@ $ const overrideSortField = get(site, 'config.setSearchSortFieldToScore'); $ const searchQueryPresent = (search.query.searchQuery && search.query.searchQuery !== ''); $ const setDefaultSortField = (searchQueryPresent && !search.query.sortField && overrideSortField); $ const sortField = setDefaultSortField ? 'SCORE' : search.input.sortField; -$ const sponsorLogo = site.getAsObject('search.sponsorLogos.page'); +$ const sponsorLogo = site.get('search.sponsorLogos.page'); <@head> @@ -39,33 +39,14 @@ $ const sponsorLogo = site.getAsObject('search.sponsorLogos.page'); <@section|{ blockName }|>
- -
- - 1)>${value}: ${i18n("Page")} ${currentPage} - ${value} -
- Sponsored by -
- -
-
- <@before-title|{ blockName }|> 1)>${value}: ${i18n("Page")} ${currentPage} ${value} - @@ -91,6 +72,17 @@ $ const sponsorLogo = site.getAsObject('search.sponsorLogos.page');
+ +
+ Sponsored by +
+