mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: tweak navigation styles
This commit is contained in:
@ -15,7 +15,11 @@ interface NavLinkItem {
|
||||
icon: React.ReactNode;
|
||||
}
|
||||
|
||||
const Navigation = () => {
|
||||
interface Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Navigation = (props: Props) => {
|
||||
const t = useTranslate();
|
||||
const user = useCurrentUser();
|
||||
const inboxStore = useInboxStore();
|
||||
@ -110,7 +114,12 @@ const Navigation = () => {
|
||||
: [exploreNavLink, signInNavLink, aboutNavLink];
|
||||
|
||||
return (
|
||||
<header className="w-full h-full overflow-auto flex flex-col justify-start items-start py-4 md:pt-6 z-30">
|
||||
<header
|
||||
className={classNames(
|
||||
"w-full h-full overflow-auto flex flex-col justify-start items-start py-4 md:pt-6 z-30 hide-scrollbar",
|
||||
props.className
|
||||
)}
|
||||
>
|
||||
<UserBanner />
|
||||
<div className="w-full px-1 py-2 flex flex-col justify-start items-start shrink-0 space-y-2">
|
||||
{navLinks.map((navLink) => (
|
||||
|
Reference in New Issue
Block a user