diff --git a/src/Explorer/Sidebar.tsx b/src/Explorer/Sidebar.tsx index 01fd8a6d1..e1bb8f272 100644 --- a/src/Explorer/Sidebar.tsx +++ b/src/Explorer/Sidebar.tsx @@ -98,6 +98,16 @@ const useSidebarStyles = makeStyles({ display: "flex", }, }, + accessibleContent: { + "@media (max-width: 420px)": { + overflow: "scroll", + }, + }, + minHeight: { + "@media (max-width: 420px)": { + minHeight: "300px", + }, + }, }); interface GlobalCommandsProps { @@ -299,11 +309,16 @@ 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 && ( @@ -357,7 +372,7 @@ export const SidebarContainer: React.FC = ({ explorer }) => { )} - + diff --git a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx index c24ac08e8..0d1ffa001 100644 --- a/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx +++ b/src/Explorer/Tabs/DocumentsTabV2/DocumentsTabV2.tsx @@ -143,6 +143,13 @@ export const useDocumentsTabStyles = makeStyles({ deleteProgressContent: { paddingTop: tokens.spacingVerticalL, }, + smallScreenContent: { + "@media (max-width: 420px)": { + flexWrap: "wrap", + minHeight: "max-content", + padding: "4px", + }, + }, }); export class DocumentsTabV2 extends TabsBase { @@ -2084,7 +2091,7 @@ export const DocumentsTabComponent: React.FunctionComponent
-
+
{!isPreferredApiMongoDB && SELECT * FROM c }
SELECT * FROM c