Skip to content

Commit

Permalink
[dashboard] Fix bottom page margins for Prebuilds, Repositories and I…
Browse files Browse the repository at this point in the history
…nsights (#20455)

* [dashboard] Fix bottom page margins for Prebuilds, Repositories and Insights

* Fix `/insights` as well

I forgor initially 💀
  • Loading branch information
filiptronicek authored Dec 16, 2024
1 parent a92bffc commit be9e7a8
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/dashboard/src/Insights.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const Insights = () => {
return (
<>
<Header title="Insights" subtitle="Insights into workspace sessions in your organization" />
<div className="app-container pt-5">
<div className="app-container pt-5 pb-8">
<div
className={classNames(
"flex flex-col items-start space-y-3 justify-between",
Expand Down Expand Up @@ -142,7 +142,7 @@ export const Insights = () => {
</ItemsList>
</div>

<div className="mt-4 mb-8 flex flex-row justify-center">
<div className="mt-4 flex flex-row justify-center">
{hasNextPage ? (
<LoadingButton
variant="secondary"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const PrebuildListPage = () => {
useDocumentTitle("Prebuilds");

return (
<div className="app-container mb-8">
<div className="app-container pb-8">
<PageHeading title="Prebuilds" subtitle="Review prebuilds of your added repositories." />
<PrebuildsList />
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const RepositoryListPage: FC = () => {

return (
<>
<div className="app-container mb-8">
<div className="app-container pb-8">
<PageHeading
title="Repository settings"
subtitle="Configure and refine the experience of working with a repository in Gitpod."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const RepositoryTable: FC<Props> = ({
</div>
)}

<div className="mt-4 mb-8 flex flex-row justify-center">
<div className="mt-4 flex flex-row justify-center">
{hasNextPage ? (
<LoadingButton variant="secondary" onClick={onLoadNextPage} loading={isFetchingNextPage}>
Load more
Expand Down

0 comments on commit be9e7a8

Please sign in to comment.