diff --git a/less/documentDB.less b/less/documentDB.less index 1abbc9b30..acce65d6a 100644 --- a/less/documentDB.less +++ b/less/documentDB.less @@ -3117,3 +3117,7 @@ a:link { background: white; height: 100%; } + +.sidebarContainer { + height: 100%; +} diff --git a/less/documentDBFabric.less b/less/documentDBFabric.less index 5f89f72ea..c191ba8b1 100644 --- a/less/documentDBFabric.less +++ b/less/documentDBFabric.less @@ -20,14 +20,18 @@ a:focus { text-decoration: underline; } +.splashLoaderContainer { + background-color: #f5f5f5; +} + #divExplorer { background-color: #f5f5f5; + padding: @FabricBoxMargin; } .resourceTreeAndTabs { border-radius: 0px; box-shadow: @FabricBoxBorderShadow; - margin: @FabricBoxMargin; margin-top: 0px; margin-bottom: 0px; background-color: #ffffff; @@ -46,7 +50,6 @@ a:focus { background-color: #ffffff; border-radius: @FabricBoxBorderRadius @FabricBoxBorderRadius 0px 0px; box-shadow: @FabricBoxBorderShadow; - margin: @FabricBoxMargin; margin-top: 0px; margin-bottom: 0px; padding-top: 2px; @@ -167,7 +170,6 @@ a:focus { .dataExplorerErrorConsoleContainer { border-radius: 0px 0px @FabricBoxBorderRadius @FabricBoxBorderRadius; box-shadow: @FabricBoxBorderShadow; - margin: @FabricBoxMargin; margin-top: 0px; width: auto; align-self: auto; diff --git a/src/Explorer/Sidebar.tsx b/src/Explorer/Sidebar.tsx index b0a0db7e2..a6a0e6a3e 100644 --- a/src/Explorer/Sidebar.tsx +++ b/src/Explorer/Sidebar.tsx @@ -282,67 +282,69 @@ export const SidebarContainer: React.FC = ({ explorer }) => { ); return ( - - {/* Collections Tree - Start */} - {hasSidebar && ( - // When collapsed, we force the pane to 24 pixels wide and make it non-resizable. - - -
- {loading && ( - // The Fluent UI progress bar has some issues in reduced-motion environments so we use a simple CSS animation here. - // https://github.com/microsoft/fluentui/issues/29076 -
- )} - {expanded ? ( - <> -
-
- - +
+ + {/* Collections Tree - Start */} + {hasSidebar && ( + // When collapsed, we force the pane to 24 pixels wide and make it non-resizable. + + +
+ {loading && ( + // The Fluent UI progress bar has some issues in reduced-motion environments so we use a simple CSS animation here. + // https://github.com/microsoft/fluentui/issues/29076 +
+ )} + {expanded ? ( + <> +
+
+ + +
-
-
+ {hasGlobalCommands && } + +
+ + ) : ( +
- - ) : ( - - )} -
- + + + )} +
+ + + )} + + - )} - - - - + +
); };