Skip to content

Commit

Permalink
refactor(theme): scrollable for file list of previewer
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Apr 21, 2020
1 parent 97bff3d commit 4fb1328
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/preset-dumi/src/themes/default/SideMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ const SideMenu: FC<INavbarProps> = ({ mobileMenuCollapsed }) => {
item.path === location.pathname;

return (
<li key={item.title}>
<li key={item.path || item.title}>
{item.path ? (
<NavLink to={item.path} exact={!(item.children && item.children.length)}>
{item.title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
list-style: none;
margin: 0;
padding: 0;
overflow: hidden;
overflow: auto;
border-top: 1px dashed @c-border;

li {
Expand Down

0 comments on commit 4fb1328

Please sign in to comment.