1
0
Fork 0

fix(shared): Limit width of account links

This commit is contained in:
Joost De Cock 2023-08-29 14:21:13 +02:00
parent 96ff3227bc
commit 0807357a7b

View file

@ -74,7 +74,7 @@ const itemClasses = 'flex flex-row items-center justify-between bg-opacity-10 p-
const AccountLink = ({ href, title, children }) => ( const AccountLink = ({ href, title, children }) => (
<Link <Link
className={`${itemClasses} hover:bg-secondary hover:bg-opacity-10`} className={`${itemClasses} hover:bg-secondary hover:bg-opacity-10 max-w-md`}
href={href} href={href}
title={title} title={title}
> >
@ -182,7 +182,7 @@ export const AccountLinks = () => {
</AccountLink> </AccountLink>
) )
)} )}
<div className={`${itemClasses} bg-neutral`}> <div className={`${itemClasses} bg-neutral max-w-md`}>
<div className="flex flex-row items-center gap-3 font-medium"> <div className="flex flex-row items-center gap-3 font-medium">
<FingerprintIcon /> <FingerprintIcon />
<span>{t('userId')}</span> <span>{t('userId')}</span>