Fixed Homepage height

This commit is contained in:
FlorianSpeicher
2025-05-21 22:20:10 +02:00
parent c86cc8ac63
commit cc493b29ac
2 changed files with 2 additions and 2 deletions

View File

@@ -170,6 +170,7 @@ export default function Home() {
<ItemCard key={item.id} item={item} />
))}
</Box>
<Pagination
count={Math.ceil(items.length / itemsPerPage)} // Gesamtanzahl der Seiten
page={currentPage} // Aktuelle Seite

View File

@@ -56,7 +56,7 @@
.page-background {
background: linear-gradient(135deg, #ece9e6, #ffffff);
height: 100vh; /* Damit der Hintergrund die gesamte Seite abdeckt */
height: calc(100vh - 3rem); /* Damit der Hintergrund die gesamte Seite abdeckt */
min-height: 600px;
display: flex;
flex-direction: column;
@@ -70,6 +70,5 @@
.pagination {
display: flex;
justify-content: center;
/*margin-top: 5%;*/
flex-shrink: 0;
}