Skip to content

Commit

Permalink
Fix dropdown overlap
Browse files Browse the repository at this point in the history
  • Loading branch information
adriaandotcom committed Dec 5, 2024
1 parent bd9853b commit 9da1e8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
10 changes: 5 additions & 5 deletions app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@
</div>

<div
class="text-gray-300 bg-gradient-to-b from-blue-100 dark:from-gray-900 relative md:pb-12 transition-transform duration-500"
class="text-gray-300 bg-gradient-to-b from-blue-100 dark:from-gray-900 relative md:pb-12 transition-transform duration-500 z-[100]"
:class="signup.show ? '-translate-y-20' : 'translate-y-0'"
>
<div class="relative pt-6 pb-16 sm:pb-8">
Expand Down Expand Up @@ -263,11 +263,11 @@
>
{{ $t(item.translation) }}
</NuxtLink>
<Popover class="relative z-30" v-slot="{ open }" v-else>
<Popover class="relative z-[100]" v-slot="{ open }" v-else>
<PopoverButton
:class="[
open ? 'text-gray-600' : '',
'group inline-flex items-center text-base font-medium text-gray-500 hover:text-gray-600',
'group inline-flex items-center text-base font-medium text-gray-500 hover:text-gray-600',
]"
>
<span>{{ $t("nav.resources") }}</span>
Expand All @@ -289,7 +289,7 @@
leave-to-class="opacity-0 translate-y-1"
>
<PopoverPanel
class="absolute z-30 left-1/2 transform -translate-x-1/2 mt-3 px-2 w-screen max-w-md sm:px-0"
class="absolute left-1/2 transform -translate-x-1/2 mt-3 px-2 w-screen max-w-md sm:px-0"
>
<div class="shadow-lg overflow-hidden">
<div
Expand Down Expand Up @@ -442,7 +442,7 @@
>
<PopoverPanel
focus
class="absolute z-30 top-0 inset-x-0 p-2 transition transform origin-top-right md:hidden"
class="absolute z-40 top-0 inset-x-0 p-2 transition transform origin-top-right md:hidden"
>
<div
class="rounded-lg bg-white dark:bg-gray-700 ring-1 ring-black ring-opacity-5 overflow-hidden"
Expand Down
2 changes: 1 addition & 1 deletion components/Logos.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="flex flex-wrap items-center justify-center -m-6">
<div class="flex flex-wrap items-center justify-center -m-6 relative z-30">
<Tooltip
v-for="company in filtered"
:key="company.name"
Expand Down
4 changes: 0 additions & 4 deletions components/Pricing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@
{{ $t("pricing.affiliate_description", [14]) }}
</p>

<p class="mt-6 text-center px-4 max-w-3xl leading-loose mx-auto">
Analytics doesn't need to be complex. Let's make it simple.
</p>

<div class="mt-6 mb-0 flex flex-wrap justify-center items-center space-x-7">
<Tooltip text="Mollie" class="group">
<NuxtLink href="https://www.mollie.com/" target="_blank">
Expand Down

0 comments on commit 9da1e8b

Please sign in to comment.