Navbar: fix position of avatar in RTL on mobile

This commit is contained in:
Alex Gleason 2022-12-23 16:02:39 -06:00
parent 78a9dc519c
commit ea70f48023
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -71,7 +71,7 @@ const Navbar = () => {
<div className='max-w-7xl mx-auto px-2 sm:px-6 lg:px-8'>
<div className='relative flex justify-between h-12 lg:h-16'>
{account && (
<div className='absolute inset-y-0 left-0 flex items-center lg:hidden'>
<div className='absolute inset-y-0 left-0 flex items-center lg:hidden rtl:right-0 rtl:left-auto'>
<button onClick={onOpenSidebar}>
<Avatar src={account.avatar} size={34} />
</button>