File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11.side-bar {
2- @apply flex select-none flex-col;
2+ @apply z-sidebar flex select-none flex-col bg-side-bar-bg-primary ;
33}
44
55.side-bar .icon {
Original file line number Diff line number Diff line change @@ -47,7 +47,10 @@ export function LeftSidePanelWrapper() {
4747 < >
4848 < SideBar
4949 activePane = { primaryPaneCollapsed ? null : primaryPane }
50- className = { cx ( { 'border-r border-r-side-bar-border' : ! primaryPaneCollapsed } ) }
50+ className = { cx ( {
51+ 'border-r border-r-side-bar-border' : ! primaryPaneCollapsed ,
52+ 'shadow-default' : primaryPaneCollapsed ,
53+ } ) }
5154 footerItems = { [
5255 // TODO: Implement Keybinds screen
5356 {
@@ -67,7 +70,13 @@ export function LeftSidePanelWrapper() {
6770 ] }
6871 onItemClick = { handleSideBarClick }
6972 />
70- < Panel collapsible order = { 1 } ref = { leftPanelRef } onCollapse = { ( collapsed ) => setPrimaryPaneCollapsed ( collapsed ) } >
73+ < Panel
74+ className = "z-sidebar-panel shadow-default"
75+ collapsible
76+ order = { 1 }
77+ ref = { leftPanelRef }
78+ onCollapse = { ( collapsed ) => setPrimaryPaneCollapsed ( collapsed ) }
79+ >
7180 { primaryPane === 'Explorer' && < ExplorerPanel /> }
7281 { primaryPane === 'References' && < ReferencesPanel /> }
7382 </ Panel >
Original file line number Diff line number Diff line change @@ -41,13 +41,22 @@ export function RightSidePanelWrapper() {
4141 return (
4242 < >
4343 < VerticalResizeHandle transparent />
44- < Panel collapsible order = { 3 } ref = { rightPanelRef } onCollapse = { ( collapsed ) => setSecondaryPaneCollapsed ( collapsed ) } >
44+ < Panel
45+ className = "z-sidebar-panel shadow-default"
46+ collapsible
47+ order = { 3 }
48+ ref = { rightPanelRef }
49+ onCollapse = { ( collapsed ) => setSecondaryPaneCollapsed ( collapsed ) }
50+ >
4551 { secondaryPane === 'Rewriter' && < RewriterPanel /> }
4652 { secondaryPane === 'Chatbot' && < ChatbotPanel /> }
4753 </ Panel >
4854 < SideBar
4955 activePane = { secondaryPaneCollapsed ? null : secondaryPane }
50- className = { cx ( { 'border-l border-l-side-bar-border' : ! secondaryPaneCollapsed } ) }
56+ className = { cx ( {
57+ 'border-l border-l-side-bar-border' : ! secondaryPaneCollapsed ,
58+ 'shadow-default' : secondaryPaneCollapsed ,
59+ } ) }
5160 items = { [
5261 { pane : 'Rewriter' , Icon : < PenIcon /> } ,
5362 { pane : 'Chatbot' , Icon : < BotIcon /> } ,
Original file line number Diff line number Diff line change @@ -191,6 +191,8 @@ export default {
191191 notifications : 88888 ,
192192 'drop-zone' : 55555 ,
193193 'resize-handle' : 44444 ,
194+ sidebar : 11 ,
195+ 'sidebar-panel' : 10 ,
194196 } ,
195197 } ,
196198 } ,
You can’t perform that action at this time.
0 commit comments