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 dropdown heading padding

Blue Mousec361d544abac
diff --git a/web/app/ui/Dropdown.tsx b/web/app/ui/Dropdown.tsx
index deb767174..1e8832223 100644
--- a/web/app/ui/Dropdown.tsx
+++ b/web/app/ui/Dropdown.tsx
@@ -108,9 +108,7 @@ function Dropdown<T>({
menuItemsClassName,
)}
>
- {header ? (
- <p className='mb-1 px-3 py-2 text-sm font-medium text-gray-700 dark:text-gray-50'>{header}</p>
- ) : null}
+ {header ? <p className='mb-1 p-2 text-sm font-medium text-gray-700 dark:text-gray-50'>{header}</p> : null}
{loading ? (
<div className='px-4 py-2'>
<Spin className='!ml-0' />