Skip to content

Commit d7bac05

Browse files
Laurie T. Malauroboquat
Laurie T. Malau
authored andcommitted
Make prebuild logs responsive for small viewports
1 parent cfe358b commit d7bac05

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

components/dashboard/src/components/PrebuildLogs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ export default function PrebuildLogs(props: PrebuildLogsProps) {
144144
<WorkspaceLogs classes="h-full w-full" logsEmitter={logsEmitter} errorMessage={error?.message} />
145145
</Suspense>
146146
</div>
147-
<div className="h-20 px-6 bg-gray-50 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-600 flex space-x-2">
147+
<div className="w-full bottom-0 h-20 px-6 bg-gray-50 dark:bg-gray-800 border-t border-gray-200 dark:border-gray-600 flex space-x-2">
148148
{prebuild && <PrebuildStatus prebuild={prebuild} />}
149149
<div className="flex-grow" />
150150
{props.children}

components/dashboard/src/start/CreateWorkspace.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ function RunningPrebuildView(props: RunningPrebuildViewProps) {
486486
return (
487487
<StartPage title="Prebuild in Progress">
488488
{/* TODO(gpl) Copied around in Start-/CreateWorkspace. This should properly go somewhere central. */}
489-
<div className="mt-6 w-11/12 lg:w-3/5 overflow-hidden">
489+
<div className="h-full mt-6 w-11/12 lg:w-3/5">
490490
<PrebuildLogs workspaceId={workspaceId} onIgnorePrebuild={props.onIgnorePrebuild}>
491491
<button className="secondary" onClick={() => props.onIgnorePrebuild && props.onIgnorePrebuild()}>
492492
Skip Prebuild

components/dashboard/src/start/StartWorkspace.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ export default class StartWorkspace extends React.Component<StartWorkspaceProps,
445445
if (isPrebuild) {
446446
return (
447447
<StartPage title="Prebuild in Progress">
448-
<div className="mt-6 w-11/12 lg:w-3/5 overflow-hidden">
448+
<div className="mt-6 w-11/12 lg:w-3/5">
449449
{/* TODO(gpl) These classes are copied around in Start-/CreateWorkspace. This should properly go somewhere central. */}
450450
<PrebuildLogs workspaceId={this.props.workspaceId} />
451451
</div>
@@ -579,7 +579,7 @@ export default class StartWorkspace extends React.Component<StartWorkspaceProps,
579579
if (isPrebuild) {
580580
return (
581581
<StartPage title="Prebuild in Progress">
582-
<div className="mt-6 w-11/12 lg:w-3/5 overflow-hidden">
582+
<div className="mt-6 w-11/12 lg:w-3/5">
583583
{/* TODO(gpl) These classes are copied around in Start-/CreateWorkspace. This should properly go somewhere central. */}
584584
<PrebuildLogs workspaceId={this.props.workspaceId} />
585585
</div>

0 commit comments

Comments
 (0)