Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e613ae6

Browse files
committed
fixies the issue with having a big conversation list
1 parent 8964b66 commit e613ae6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

components/Layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const NavigationColumnLayout: React.FC = ({ children }) => (
2121
)
2222

2323
const NavigationHeaderLayout: React.FC = ({ children }) => (
24-
<div className="h-[72px] bg-p-600 flex items-center justify-between flex-shrink-0 px-4">
24+
<div className="h-[10vh] bg-p-600 flex items-center justify-between flex-shrink-0 px-4">
2525
<Link href="/" passHref={true}>
2626
<img className="h-8 w-auto" src="/xmtp-icon.png" alt="XMTP" />
2727
</Link>

components/NavigationPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const NavigationPanel = ({ onConnect }: NavigationPanelProps): JSX.Element => {
1717
const { walletAddress } = useXmtp()
1818

1919
return (
20-
<div className="flex-grow flex flex-col">
20+
<div className="flex-grow flex flex-col h-[80vh] overflow-y-auto">
2121
{walletAddress ? (
2222
<ConversationsPanel />
2323
) : (

components/UserMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const UserMenu = ({ onConnect, onDisconnect }: UserMenuProps): JSX.Element => {
8080
}, [walletAddress])
8181

8282
return (
83-
<div className="flex bg-p-600 items-center justify-between rounded-lg h-14 mx-4 mb-5 md:mb-4 px-4 drop-shadow-xl">
83+
<div className="flex bg-p-600 items-center justify-between rounded-lg h-[10vh] mx-4 mb-5 md:mb-4 px-4 drop-shadow-xl">
8484
{walletAddress ? (
8585
<Menu>
8686
{({ open }) => (

0 commit comments

Comments
 (0)