Remove unnecessary margin from navbar
This commit is contained in:
parent
974d41434e
commit
3ae456f730
|
@ -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>
|
||||
|
|
|
@ -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} />
|
||||
)}
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user