align connect button to edge

This commit is contained in:
saml33 2022-09-15 11:17:15 +10:00
parent 17b52d242d
commit 6e0d02c757
3 changed files with 4 additions and 4 deletions

View File

@ -70,7 +70,7 @@ const Layout = ({ children }: { children: ReactNode }) => {
isCollapsed ? 'md:pl-[64px]' : 'md:pl-44 lg:pl-48 xl:pl-52' isCollapsed ? 'md:pl-[64px]' : 'md:pl-44 lg:pl-48 xl:pl-52'
}`} }`}
> >
<div className="flex h-16 items-center justify-between border-b border-th-bkg-3 bg-th-bkg-1 px-6 md:px-8"> <div className="flex h-16 items-center justify-between border-b border-th-bkg-3 bg-th-bkg-1 pl-6 md:pl-8">
<img <img
className="mr-4 h-8 w-auto md:hidden" className="mr-4 h-8 w-auto md:hidden"
src="/logos/logo-mark.svg" src="/logos/logo-mark.svg"

View File

@ -49,7 +49,7 @@ const TopBar = () => {
) : null} ) : null}
</span> </span>
{connected ? ( {connected ? (
<div className="flex items-center space-x-4"> <div className="flex items-center space-x-4 pr-4 md:pr-6">
<MangoAccountsList mangoAccount={mangoAccount} /> <MangoAccountsList mangoAccount={mangoAccount} />
<ConnectedMenu /> <ConnectedMenu />
</div> </div>

View File

@ -34,9 +34,9 @@ const ConnectedMenu = () => {
{({ open }) => ( {({ open }) => (
<div className="relative"> <div className="relative">
<Menu.Button <Menu.Button
className={`flex h-12 w-12 items-center rounded-full hover:bg-th-bkg-2 focus:outline-none`} className={`flex h-10 w-10 items-center rounded-full hover:bg-th-bkg-2 focus:outline-none`}
> >
<ProfileImage imageSize="48" placeholderSize="28" /> <ProfileImage imageSize="40" placeholderSize="24" />
</Menu.Button> </Menu.Button>
<Transition <Transition
appear={true} appear={true}