Skip to content

Commit 27ff5e2

Browse files
authored
Introduce --page-space-bottom at 64px (#30692)
Previously we would always leave 80px space before the page footer, but this is problematic with small viewport heights on projects page for example. I think it' ideal that we use `--page-spacing` which is already in use for spacing on top of the page. The `secondary-nav` margin is also adjusted as I see no value why this shouldn't be the same value.
1 parent 8cea1ae commit 27ff5e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

web_src/css/base.css

+2-1
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
--checkbox-size: 15px; /* height and width of checkbox and radio inputs */
3030
--page-spacing: 16px; /* space between page elements */
3131
--page-margin-x: 32px; /* minimum space on left and right side of page */
32+
--page-space-bottom: 64px; /* space between last page element and footer */
3233
}
3334

3435
@media (min-width: 768px) and (max-width: 1200px) {
@@ -479,7 +480,7 @@ img.ui.avatar,
479480

480481
.full.height {
481482
flex-grow: 1;
482-
padding-bottom: 80px;
483+
padding-bottom: var(--page-space-bottom);
483484
}
484485

485486
.status-page-error {

0 commit comments

Comments
 (0)