Skip to content

Commit

Permalink
fix(snippet/switch-sidebars): reposition resize handle (#881)
Browse files Browse the repository at this point in the history
  • Loading branch information
s000ik authored Jan 21, 2025
1 parent 3f6a107 commit fce70c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/snippets.json
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@
},
{
"title": "Switch Sidebars",
"description": "Move the navigation panel to the right and the information sidebar to the left.",
"code": ".Root__top-container .Root__nav-bar { grid-area: right-sidebar !important; } .Root__top-container .Root__right-sidebar { grid-area: left-sidebar !important; }",
"description": "Move the navigation panel to the right and the information sidebar to the left. Drag to resize works in reverse or pre-switching context (drag off the application window to adjust).",
"code": ".Root__top-container .Root__nav-bar { grid-area: right-sidebar !important;} .Root__top-container .Root__right-sidebar { grid-area: left-sidebar !important;} .Root__top-container .Root__nav-bar .os-scrollbar,.Root__top-container .Root__nav-bar .LayoutResizer__resize-bar { left: -4px !important; right: auto !important; } .Root__top-container .Root__right-sidebar .os-scrollbar, .Root__top-container .Root__right-sidebar .LayoutResizer__resize-bar { right: -4px !important; left: auto !important; } .Root__top-container .Root__nav-bar .LayoutResizer__resize-bar { transform: scaleX(-1); } .Root__top-container .Root__right-sidebar .LayoutResizer__resize-bar { transform: scaleX(-1); }",
"preview": "resources/assets/snippets/switch-sidebars.png"
},
{
Expand Down

0 comments on commit fce70c6

Please sign in to comment.