File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,10 @@ export const DashboardLayout: FC = () => {
23
23
{ canViewDeployment && < LicenseBanner /> }
24
24
< AnnouncementBanners />
25
25
26
- < div className = "flex flex-col min-h-full " >
26
+ < div className = "flex flex-col h-screen " >
27
27
< Navbar />
28
28
29
- < div className = "flex flex-col flex-1" >
29
+ < div className = "flex flex-col flex-1 min-h-0 " >
30
30
< Suspense fallback = { < Loader /> } >
31
31
< Outlet />
32
32
</ Suspense >
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export const NavbarView: FC<NavbarViewProps> = ({
51
51
const webPush = useWebpushNotifications ( ) ;
52
52
53
53
return (
54
- < div className = "border-0 border-b border-solid h-[72px] flex items-center leading-none px-6" >
54
+ < div className = "border-0 border-b border-solid h-[72px] min-h-[72px] flex items-center leading-none px-6" >
55
55
< NavLink to = "/workspaces" >
56
56
{ logo_url ? (
57
57
< ExternalImage className = "h-7" src = { logo_url } alt = "Custom Logo" />
Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ import {
23
23
} from "./WorkspaceBuildProgress" ;
24
24
import { WorkspaceDeletedBanner } from "./WorkspaceDeletedBanner" ;
25
25
import { WorkspaceTopbar } from "./WorkspaceTopbar" ;
26
+ import { height } from "@mui/system" ;
26
27
27
28
interface WorkspaceProps {
28
29
workspace : TypesGen . Workspace ;
@@ -99,7 +100,7 @@ export const Workspace: FC<WorkspaceProps> = ({
99
100
workspacePending && ! haveBuildLogs && ! provisionersHealthy && ! isRestarting ;
100
101
101
102
return (
102
- < div className = "flex flex-col overflow-hidden flex-1" >
103
+ < div className = "flex flex-col flex-1 min-h-0 " >
103
104
< WorkspaceTopbar
104
105
workspace = { workspace }
105
106
template = { template }
@@ -118,7 +119,7 @@ export const Workspace: FC<WorkspaceProps> = ({
118
119
handleToggleFavorite = { handleToggleFavorite }
119
120
/>
120
121
121
- < div className = "flex flex-1" >
122
+ < div className = "flex flex-1 min-h-0 " >
122
123
< div className = "flex" >
123
124
< div className = "flex flex-col h-full overflow-y-auto border-solid border-0 border-r border-r-border" >
124
125
< SidebarIconButton
You can’t perform that action at this time.
0 commit comments