Fix Top Header layout following changes in the Shadcn Sidebar;

Fix useMobile breakpoint to 1024px, to match our Tailwind convention for mobile breakpoints (lg)
This commit is contained in:
gbuomprisco
2024-11-21 12:31:16 +08:00
parent afe1ca43cc
commit 977c958975
6 changed files with 20 additions and 10 deletions

View File

@@ -48,7 +48,9 @@ export function TeamAccountNavigationMenu(props: {
</BorderedNavigationMenu>
</div>
<div className={'flex justify-end space-x-2.5'}>
<div className={'flex justify-end space-x-2.5 items-center'}>
<TeamAccountNotifications accountId={account.id} userId={user.id} />
<TeamAccountAccountsSelector
userId={user.id}
selectedAccount={account.slug}
@@ -59,9 +61,9 @@ export function TeamAccountNavigationMenu(props: {
}))}
/>
<TeamAccountNotifications accountId={account.id} userId={user.id} />
<ProfileAccountDropdownContainer user={user} account={account} />
<div>
<ProfileAccountDropdownContainer user={user} account={account} showProfileName={false} />
</div>
</div>
</div>
);