Navbar: fix position of avatar in RTL on mobile
This commit is contained in:
parent
78a9dc519c
commit
ea70f48023
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue