feat: Resizable sidebar (#1827)

* wip: First round on sidebar resizing

* feat: Saving setting, animation

* all requirements, refactoring needed

* lint

* refactor useResize

* some mobile improvements

* fix

* refactor
This commit is contained in:
Tom Moor
2021-01-20 23:00:14 -08:00
committed by GitHub
parent 774c3534d8
commit 111212b038
14 changed files with 342 additions and 90 deletions

View File

@@ -47,10 +47,10 @@ const spacing = {
padding: "1.5vw 1.875vw",
vpadding: "1.5vw",
hpadding: "1.875vw",
sidebarWidth: "280px",
sidebarCollapsedWidth: "16px",
sidebarMinWidth: "250px",
sidebarMaxWidth: "350px",
sidebarWidth: 280,
sidebarCollapsedWidth: 16,
sidebarMinWidth: 200,
sidebarMaxWidth: 400,
};
export const base = {