diff --git a/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss b/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss index b949ab1633..bbe3d40118 100644 --- a/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss +++ b/services/web/frontend/stylesheets/bootstrap-5/components/gallery-search.scss @@ -23,11 +23,16 @@ } .search-hits { - margin-top: var(--spacing-16); display: flex; flex-direction: column; gap: var(--spacing-08); + .search-hits-loading, + .search-hits-empty, + .search-hit:first-of-type { + margin-top: var(--spacing-16); + } + .search-hit { display: flex; gap: var(--spacing-08);