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: ugly profile text overflow

Blue Mouse4c5d272d4162
diff --git a/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx b/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx
index 775f0db6a..3110372ae 100644
--- a/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx
+++ b/web/app/pages/Project/tabs/Profiles/ProfileDetails.tsx
@@ -257,15 +257,15 @@ const InfoRow = ({
label: string
value: React.ReactNode
}) => (
- <div className='flex items-center justify-between border-b border-gray-100 py-2 last:border-0 dark:border-slate-700/50'>
- <Text size='sm' colour='muted'>
+ <div className='flex items-start justify-between gap-3 border-b border-gray-100 py-2 last:border-0 dark:border-slate-700/50'>
+ <Text size='sm' colour='muted' className='shrink-0'>
{label}
</Text>
<Text
size='sm'
weight='medium'
colour='primary'
- className='flex items-center gap-1'
+ className='flex min-w-0 flex-wrap items-center justify-end gap-1 text-right'
>
{value}
</Text>
diff --git a/web/app/ui/icons/SwetrixLogo.tsx b/web/app/ui/icons/SwetrixLogo.tsx
index 5c3cae48e..21939bf8b 100644
--- a/web/app/ui/icons/SwetrixLogo.tsx
+++ b/web/app/ui/icons/SwetrixLogo.tsx
@@ -9,10 +9,7 @@ interface SwetrixLogoProps {
theme?: ThemeType
}
-const SwetrixLogo = ({
- className,
- theme: themeOverride,
-}: SwetrixLogoProps) => {
+const SwetrixLogo = ({ className, theme: themeOverride }: SwetrixLogoProps) => {
const { theme: currentTheme } = useTheme()
const { t } = useTranslation()