From e6b697a1565d48c70c3584a67b4343052dd140bc Mon Sep 17 00:00:00 2001 From: Johnson Mao Date: Thu, 9 May 2024 22:07:06 +0800 Subject: [PATCH] fix: mobile menu display partner and group link --- constants/category.js | 15 ++++++++++----- .../Navigation_v2/MainNav/Hamberger/MenuList.jsx | 1 + 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/constants/category.js b/constants/category.js index 9ac32391..893bcd8b 100644 --- a/constants/category.js +++ b/constants/category.js @@ -258,11 +258,16 @@ export const NAV_LINK_MOBILE = [ link: '/search', target: '_self', }, - // { - // name: '找夥伴', - // link: '/partner', - // target: '_self', - // }, + { + name: '找夥伴', + link: '/partner', + target: '_self', + }, + { + name: '找揪團', + link: '/group', + target: '_self', + }, { name: '找活動', link: '/activities', diff --git a/shared/components/Navigation_v2/MainNav/Hamberger/MenuList.jsx b/shared/components/Navigation_v2/MainNav/Hamberger/MenuList.jsx index c7e41347..d64a90bd 100644 --- a/shared/components/Navigation_v2/MainNav/Hamberger/MenuList.jsx +++ b/shared/components/Navigation_v2/MainNav/Hamberger/MenuList.jsx @@ -19,6 +19,7 @@ const MenuWrapper = styled.div` color: #fafafa; transition: height 0.3s ease; z-index: 100; + overflow: auto; `; const MenuListWrapper = styled.div`