2
1
Fork
You've already forked hacks
5

Add a hack to make left sidebar collapsible for two-column layout #13

Open
aarolsen wants to merge 12 commits from aarolsen/hacks:main into main
pull from: aarolsen/hacks:main
merge into: bookstack:main
bookstack:main
First-time contributor
Copy link

This hack adds a "Collapse left sidebar" button (SVG icon and text) to the top of the left sidebar when the window width is between 1001 and 1400 pixels (two-column layout). The button collapses the left sidebar, leaving an SVG icon to allow the user to uncollapse the sidebar. A session cookie saves the current collapsed state so that it persists across pages.

This hack adds a "Collapse left sidebar" button (SVG icon and text) to the top of the left sidebar when the window width is between 1001 and 1400 pixels (two-column layout). The button collapses the left sidebar, leaving an SVG icon to allow the user to uncollapse the sidebar. A session cookie saves the current collapsed state so that it persists across pages.
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u main:aarolsen-main
git switch aarolsen-main

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff aarolsen-main
git switch aarolsen-main
git rebase main
git switch main
git merge --ff-only aarolsen-main
git switch aarolsen-main
git rebase main
git switch main
git merge --no-ff aarolsen-main
git switch main
git merge --squash aarolsen-main
git switch main
git merge --ff-only aarolsen-main
git switch main
git merge aarolsen-main
git push origin main
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bookstack/hacks!13
Reference in a new issue
bookstack/hacks
No description provided.
Delete branch "aarolsen/hacks:main"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?