chore: adjust height of dropdowns

This commit is contained in:
Matthew Russell
2023-07-13 11:50:31 +01:00
parent 4069bf2a09
commit 3eb81c57ea
+5 -2
View File
@@ -160,6 +160,9 @@ const NavbarMenu = () => {
<N.Item>
<NavbarLink to={tradingPath}>{t('Trading')}</NavbarLink>
</N.Item>
<N.Item>
<NavbarLink to={Links[Routes.PORTFOLIO]()}>{t('Portfolio')}</NavbarLink>
</N.Item>
<N.Item>
<NavbarLink to={tokenLink(TOKEN_GOVERNANCE)}>
{t('Governance')}
@@ -201,7 +204,7 @@ const NavbarTrigger = ({ children }: { children: ReactNode }) => {
className="relative flex items-center gap-2 py-2 px-6 lg:px-2 text-lg lg:text-base"
>
{children}
<VegaIcon name={VegaIconNames.CHEVRON_DOWN} />
<VegaIcon name={VegaIconNames.CHEVRON_DOWN} size={14} />
</N.Trigger>
);
};
@@ -242,7 +245,7 @@ const NavbarContent = ({ children }: { children: ReactNode }) => {
return (
<N.Content
className={classNames(
'lg:absolute lg:mt-2 pl-6 lg:pl-0 z-20 lg:min-w-[290px]',
'lg:absolute pl-6 lg:pl-0 z-20 lg:min-w-[290px]',
'lg:bg-vega-clight-800 lg:dark:bg-vega-cdark-800',
'lg:border border-default lg:rounded'
)}