Skip to content

Commit

Permalink
fix(style): don't use fixed height for toc item
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed May 17, 2020
1 parent fca558d commit e54cc30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Sidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const Sidebar: FunctionComponent<{
return (
<a
class={
`flex px-5 h-8 items-center menu_item` +
`flex px-5 py-1 items-center menu_item` +
(item.slug === hash.slice(1) ? ' menu_item__active' : '')
}
onClick={handleSidebarItemClick}
Expand Down

1 comment on commit e54cc30

@vercel
Copy link

@vercel vercel bot commented on e54cc30 May 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.