Merge pull request #21286 from overleaf/mf-fix-layout-search-margin-top

[web] Remove margin-top on template gallery page without search

GitOrigin-RevId: 91335298b15f403e268f8e506ff373345922188b
This commit is contained in:
M Fahru 2024-10-23 08:07:19 -07:00 committed by Copybot
parent 4a10779064
commit b12236576b

View file

@ -23,11 +23,16 @@
} }
.search-hits { .search-hits {
margin-top: var(--spacing-16);
display: flex; display: flex;
flex-direction: column; flex-direction: column;
gap: var(--spacing-08); gap: var(--spacing-08);
.search-hits-loading,
.search-hits-empty,
.search-hit:first-of-type {
margin-top: var(--spacing-16);
}
.search-hit { .search-hit {
display: flex; display: flex;
gap: var(--spacing-08); gap: var(--spacing-08);