diff --git a/assets/main/scss/_top-app-bar.scss b/assets/main/scss/_top-app-bar.scss index 7c000498..18b2b6ba 100644 --- a/assets/main/scss/_top-app-bar.scss +++ b/assets/main/scss/_top-app-bar.scss @@ -67,16 +67,21 @@ $header-caret-width: 0.35em; } .search-bar { - @include media-breakpoint-up(xxl) { - width: 180px; - } - .search-input { - padding-left: 2rem; + padding-left: 2.25rem; + + @include media-breakpoint-up(xxl) { + width: 180px; + transition: 0.5s width ease-in-out; + + &:focus { + width: 240px; + } + } } .search-shortcut { - margin-top: 0.35rem; + margin-top: 0.575rem; } } diff --git a/layouts/partials/header/search-bar.html b/layouts/partials/header/search-bar.html index c1ae8181..a4f9aade 100644 --- a/layouts/partials/header/search-bar.html +++ b/layouts/partials/header/search-bar.html @@ -4,7 +4,7 @@ {{- $shortcut := partialCached "functions/search-shortcut" . }}