Skip to content

Commit

Permalink
Fix search results top offset + add top border
Browse files Browse the repository at this point in the history
  • Loading branch information
breadthe committed Aug 10, 2024
1 parent c2d47fc commit c54628e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/_assets/js/components/Search.vue
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@
>&times;</button>

<transition name="fade">
<div v-if="query" class="absolute top-0 inset-x-0 sm:inset-auto w-full lg:w-3/4 text-left mb-4 mt-16 sm:mt-12">
<div class="flex flex-col bg-white border border-b-0 border-t-0 border-teal-400 rounded-b-lg shadow-lg mx-4 sm:mx-0">
<div v-if="query" class="absolute top-0 inset-x-0 sm:inset-auto w-full lg:w-3/4 text-left mb-4 mt-[3.5rem] sm:mt-10">
<div class="flex flex-col bg-white border border-b-0 border-teal-400 rounded-b-lg shadow-lg mx-4 sm:mx-0">
<a
v-for="(result, index) in results"
class="group bg-white hover:bg-gray-100 border-b border-teal-400 cursor-pointer p-4"
Expand Down

0 comments on commit c54628e

Please sign in to comment.