Skip to content

Commit

Permalink
Adjust content link spacings
Browse files Browse the repository at this point in the history
  • Loading branch information
obulat committed May 15, 2023
1 parent 930a2ec commit 3bd0587
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 1 addition & 5 deletions frontend/src/components/VSearchGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
(!fetchState.isFetching && resultsCount)
"
>
<header
v-if="query.q && supported"
class="mt-5"
:class="isAllView ? 'mb-10' : 'mb-8'"
>
<header v-if="query.q && supported" class="my-0 md:mb-8 md:mt-4">
<VSearchResultsTitle :size="isAllView ? 'large' : 'default'">
{{ searchTerm }}
</VSearchResultsTitle>
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/components/VSearchResultsTitle.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
<template>
<h1
class="sr-only break-words md:not-sr-only"
:class="[size === 'large' ? 'heading-1' : 'heading-2']"
:class="[
size === 'large'
? 'heading-2 lg:heading-1 !leading-none lg:!leading-none'
: 'heading-2 !leading-none',
]"
>
<slot default />
</h1>
Expand Down

0 comments on commit 3bd0587

Please sign in to comment.