fix(shared): Limit width of account links
This commit is contained in:
parent
96ff3227bc
commit
0807357a7b
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue