Remove unnecessary margin from navbar

This commit is contained in:
jahooma 2022-01-13 17:15:32 -06:00
parent 974d41434e
commit 3ae456f730
3 changed files with 2 additions and 9 deletions

View File

@ -9,10 +9,7 @@ export function MenuButton(props: {
}) {
const { buttonContent, menuItems, className } = props
return (
<Menu
as="div"
className={clsx('flex-shrink-0 relative ml-4 z-10', className)}
>
<Menu as="div" className={clsx('flex-shrink-0 relative z-10', className)}>
<div>
<Menu.Button className="rounded-full flex">
<span className="sr-only">Open user menu</span>

View File

@ -30,7 +30,7 @@ export function NavBar(props: {
>
<ManifoldLogo darkBackground={darkBackground} />
<Row className="items-center gap-6 sm:gap-8 md:ml-16 lg:ml-40">
<Row className="items-center gap-6 sm:gap-8 ml-6">
{(user || user === null) && (
<NavOptions user={user} themeClasses={themeClasses} />
)}

View File

@ -51,10 +51,6 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
name: 'Your markets',
href: `/${user.username}`,
},
// {
// name: 'Add funds',
// href: '/add-funds',
// },
{
name: 'Discord',
href: 'https://discord.gg/eHQBNBqXuh',