Fixed Homepage height
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user