diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-01-10 18:17:40 +0100 | 
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-01-11 02:24:44 +0100 | 
| commit | 6315efacd6212a347877102a68f430fffa4ca4ac (patch) | |
| tree | b067fb4a1855f881b15e4e11ee161dda778150f9 /src/components/PostsList/PostsList.tsx | |
| parent | cd1078e3a6ddb1b1598723beec4905c123ee85a6 (diff) | |
refactor(sidebar): use a component to avoid styles repetition
I also fix some overflow/sticky issues.
I have to set overflow auto only when there is no button-like
links otherwise, with translate, the button is cropped on hover.
Diffstat (limited to 'src/components/PostsList/PostsList.tsx')
| -rw-r--r-- | src/components/PostsList/PostsList.tsx | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/src/components/PostsList/PostsList.tsx b/src/components/PostsList/PostsList.tsx index 3354dd5..f401d83 100644 --- a/src/components/PostsList/PostsList.tsx +++ b/src/components/PostsList/PostsList.tsx @@ -63,7 +63,7 @@ const PostsList = ({      });    }; -  return <>{showYears ? getPostsListByYear() : getPostsList()}</>; +  return <div>{showYears ? getPostsListByYear() : getPostsList()}</div>;  };  export default PostsList; | 
