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!

fixed left-aligned title on modal windows for mobile devices

Blue Mouse12f93c06a6bd
diff --git a/app/ui/Modal.tsx b/app/ui/Modal.tsx
index 91aa432a5..eb168f808 100644
--- a/app/ui/Modal.tsx
+++ b/app/ui/Modal.tsx
@@ -96,7 +96,7 @@ const Modal = ({
)}
<div className='mt-3 text-center sm:mt-0 sm:text-left w-full'>
{title && (
- <Dialog.Title as='h3' className='flex items-center text-lg leading-6 font-medium text-gray-900 dark:text-gray-50'>
+ <Dialog.Title as='h3' className='flex items-center justify-center sm:justify-start text-lg leading-6 font-medium text-gray-900 dark:text-gray-50'>
{title}
{isBeta && (
<Beta className='ml-10' />