Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

fix select menu overlapping with dashboard header

Blue Mouse1bf87085d5bd
diff --git a/web/app/ui/Combobox.tsx b/web/app/ui/Combobox.tsx
index db2edf0d3..ecd7c21b4 100644
--- a/web/app/ui/Combobox.tsx
+++ b/web/app/ui/Combobox.tsx
@@ -75,7 +75,7 @@ const Combobox = ({
leaveTo='opacity-0'
afterLeave={() => setQuery('')}
>
- <ComboboxOptions className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base ring-1 ring-black/10 focus:outline-hidden sm:text-sm dark:bg-slate-800'>
+ <ComboboxOptions className='absolute z-30 mt-1 max-h-60 w-full overflow-auto rounded-md bg-white py-1 text-base ring-1 ring-black/10 focus:outline-hidden sm:text-sm dark:bg-slate-800'>
{_isEmpty(filteredItems) && !_isEmpty(query) ? (
<div className='relative cursor-default px-4 py-2 text-gray-900 select-none dark:text-white'>
{t('common.nothingFound')}
diff --git a/web/app/ui/Select.tsx b/web/app/ui/Select.tsx
index f427899f5..f97d2b860 100644
--- a/web/app/ui/Select.tsx
+++ b/web/app/ui/Select.tsx
@@ -81,7 +81,7 @@ function Select<T>({
>
<ListboxOptions
static
- className='absolute z-10 mt-1 max-h-60 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base ring-1 ring-black/10 focus:outline-hidden sm:text-sm dark:bg-slate-800'
+ className='absolute z-30 mt-1 max-h-60 w-full overflow-auto rounded-md bg-gray-50 py-1 text-base ring-1 ring-black/10 focus:outline-hidden sm:text-sm dark:bg-slate-800'
>
{_map(items, (item, index) => (
<ListboxOption