Remove styled components
For #38 (closed)
There was only two instances of styled components and these were in the MoreMenu
components (renamed to ActionMenu
in the last commit). I replaced those with CSS modules.
There is also a lot of clean-up in these components so I advise to review the commits separately (The most important commit is 01453e5e and I already went a bit overboard with it, sorry!
Notably:
- Inlined
StyledMenu
inMoreMenuButton
(nowOpenActionMenuButton
) - Removed
MenuList
that brought unneeded encapsulation - Put
DownloadMenuItem
in its own component
Edited by Loic Huder