-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add useDimensions hook to dynamically get HTML element dimensions * Fix resizing editor divider snapping calculations using window width * Update SideBar styling to take up empty space * Set max width of sidebar * Fix sidebar resize component not being positioned correctly * Fix sidebar resize component not being positioned correctly without hacks * Disable resizing of sidebar when there are no sidebar tabs * Set min width of sidebar * Rework SideBar state management to remember last selected tab * Add snapping when sidebar is resized below a width of 100px * Hook resizing logic of sidebar to its expansion state * Fix sidebar min width on pages where the sidebar is not rendered * Remove temporary sidebar tab for testing
- Loading branch information
Showing
5 changed files
with
160 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters