Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Commit 8bbdc11

Browse files
author
Noah Hanjun Lee
authored
Remove style for menu to fix the link bug (#206)
1 parent c02d1c0 commit 8bbdc11

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed

ui/src/views/Main.tsx

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,15 +129,20 @@ export default function Main(props: any) {
129129
{/* Avatar */}
130130
{(authorized) ?
131131
<Dropdown overlay={
132-
<Menu style={{width: "150px"}}>
132+
<Menu>
133133
<Menu.Item key="0">
134-
<a href="/settings">Settings</a>
134+
<a href="/settings">
135+
Settings
136+
</a>
135137
</Menu.Item>
136138
<Menu.Divider />
137139
<Menu.Item key="1">
138-
<a href="/signout">Sign out</a>
140+
<a href="/signout">
141+
Sign out
142+
</a>
139143
</Menu.Item>
140-
</Menu> }>
144+
</Menu>
145+
}>
141146
<Avatar src={user?.avatar}/>
142147
</ Dropdown>
143148
: <a href="/" style={{color: "white"}}>Sign in</a>}

0 commit comments

Comments
 (0)