Skip to content

Commit

Permalink
fix(service-logs): scrolling height (#1733)
Browse files Browse the repository at this point in the history
* fix(service-logs): scrolling height
  • Loading branch information
RemiBonnet authored Oct 22, 2024
1 parent b368249 commit b269efb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,6 @@ describe('ListDeploymentLogs', () => {
/>
)

expect(screen.getByText('Streaming service logs')).toBeInTheDocument()
expect(screen.getByText('Streaming deployment logs')).toBeInTheDocument()
})
})
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ export function ListDeploymentLogs({
</Table.Body>
</Table.Root>
{isDeploymentProgressing && (
<ProgressIndicator className="mb-2 pl-2" pauseLogs={pauseLogs} message="Streaming service logs" />
<ProgressIndicator className="mb-2 pl-2" pauseLogs={pauseLogs} message="Streaming deployment logs" />
)}
</div>
<ShowNewLogsButton
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ export function ListServiceLogs({ environment, clusterId, serviceStatus, environ
</div>
</div>
<div
className="h-full w-full overflow-y-scroll pb-20"
className="h-[calc(100vh-160px)] w-full overflow-y-scroll"
ref={refScrollSection}
onWheel={(event) => {
if (
Expand Down

0 comments on commit b269efb

Please sign in to comment.