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
|
const { buttonContent, menuItems, className } = props
|
||||||
return (
|
return (
|
||||||
<Menu
|
<Menu as="div" className={clsx('flex-shrink-0 relative z-10', className)}>
|
||||||
as="div"
|
|
||||||
className={clsx('flex-shrink-0 relative ml-4 z-10', className)}
|
|
||||||
>
|
|
||||||
<div>
|
<div>
|
||||||
<Menu.Button className="rounded-full flex">
|
<Menu.Button className="rounded-full flex">
|
||||||
<span className="sr-only">Open user menu</span>
|
<span className="sr-only">Open user menu</span>
|
||||||
|
|
|
@ -30,7 +30,7 @@ export function NavBar(props: {
|
||||||
>
|
>
|
||||||
<ManifoldLogo darkBackground={darkBackground} />
|
<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) && (
|
{(user || user === null) && (
|
||||||
<NavOptions user={user} themeClasses={themeClasses} />
|
<NavOptions user={user} themeClasses={themeClasses} />
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -51,10 +51,6 @@ function getNavigationOptions(user: User, options: { mobile: boolean }) {
|
||||||
name: 'Your markets',
|
name: 'Your markets',
|
||||||
href: `/${user.username}`,
|
href: `/${user.username}`,
|
||||||
},
|
},
|
||||||
// {
|
|
||||||
// name: 'Add funds',
|
|
||||||
// href: '/add-funds',
|
|
||||||
// },
|
|
||||||
{
|
{
|
||||||
name: 'Discord',
|
name: 'Discord',
|
||||||
href: 'https://discord.gg/eHQBNBqXuh',
|
href: 'https://discord.gg/eHQBNBqXuh',
|
||||||
|
|
Loading…
Reference in New Issue
Block a user