diff -u b/core/themes/umami/css/components/blocks/search/search.css b/core/themes/umami/css/components/blocks/search/search.css --- b/core/themes/umami/css/components/blocks/search/search.css +++ b/core/themes/umami/css/components/blocks/search/search.css @@ -3,6 +3,10 @@ * This file is used to style the search block. */ +.search-form + h2 { + margin: 0 14px 1rem; +} + .search-block-form { display: none; } @@ -60,13 +64,14 @@ } .form-search { width: 26em; + max-width: calc(100vw - 6.25em); height: auto; margin: 0; padding: 0.5em 6.25em 0.5em 2.25em; border: 1px solid #dbdbdb; border-right: none; border-radius: 3px; - font-size: 0.875rem; /* 14px */ + font-size: 0.875rem; line-height: normal; background: url(../../../../images/svg/search.svg) no-repeat 0.5em center #fff; background-size: 1.5em; diff -u b/core/themes/umami/umami.libraries.yml b/core/themes/umami/umami.libraries.yml --- b/core/themes/umami/umami.libraries.yml +++ b/core/themes/umami/umami.libraries.yml @@ -17,7 +17,6 @@ css/components/content-types/recipe/recipe.css: {} css/components/fields/label-items.css: {} css/components/forms/buttons.css: {} - css/components/fields/node-submitted.css: {} css/components/views/promoted-items.css: {} css/components/views/frontpage.css: {} css/components/navigation/menu-footer/menu-footer.css: {} @@ -29,8 +28,6 @@ css/components/regions/bottom/bottom.css: {} css/components/regions/footer/footer.css: {} css/components/regions/header/header.css: {} - css/components/regions/sidebar/sidebar.css: {} - css/components/regions/top/top.css: {} layout: css/layout/grid-2.css: {} css/layout/grid-3.css: {} diff -u b/core/themes/umami/umami.theme b/core/themes/umami/umami.theme --- b/core/themes/umami/umami.theme +++ b/core/themes/umami/umami.theme @@ -65,9 +65,19 @@ $request = \Drupal::request(); if ($route = $request->attributes->get(RouteObjectInterface::ROUTE_OBJECT)) { - $variables['current_page_title'] = \Drupal::service('title_resolver')->getTitle($request, $route); + // Search page titles aren't resolved using the title_resolver service - it + // will always return 'Search' instead of 'Search for [term]', which would + // give us a breadcrumb of Home >> Search >> Search. + // @see https://www.drupal.org/project/drupal/issues/2359901 + // @see https://www.drupal.org/project/drupal/issues/2403359 + if (($entity = $request->attributes->get('entity')) && $entity->getEntityType()->id() == 'search_page') { + $variables['current_page_title'] = $entity->getPlugin()->suggestedTitle(); + } + else { + $variables['current_page_title'] = \Drupal::service('title_resolver')->getTitle($request, $route); + } } // Since we are printing the 'Current Page Title', set the cache to match // the URL cache. If we don't, then we might end up with something like - // "Home >> Articles" on the Recipes page, which should read "Home >> Recipes". + // "Home > Articles" on the Recipes page, which should read "Home > Recipes". $variables['#cache']['contexts'][] = 'url'; }