Skip to content

Commit fce70c6

Browse files
authored
fix(snippet/switch-sidebars): reposition resize handle (#881)
1 parent 3f6a107 commit fce70c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/snippets.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@
343343
},
344344
{
345345
"title": "Switch Sidebars",
346-
"description": "Move the navigation panel to the right and the information sidebar to the left.",
347-
"code": ".Root__top-container .Root__nav-bar { grid-area: right-sidebar !important; } .Root__top-container .Root__right-sidebar { grid-area: left-sidebar !important; }",
346+
"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).",
347+
"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); }",
348348
"preview": "resources/assets/snippets/switch-sidebars.png"
349349
},
350350
{

0 commit comments

Comments
 (0)