diff options
author | silverwind <me@silverwind.io> | 2025-04-25 19:53:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-25 10:53:26 -0700 |
commit | 27ff5e2e84d448dfbc2ba3bea24c0a26a8971ad7 (patch) | |
tree | 62b7c826b7f0399d7325fe5db316a38ad4705fc7 /web_src/css | |
parent | 8cea1aeea5e72a7086c965c2197234f3928b1779 (diff) | |
download | gitea-27ff5e2e84d448dfbc2ba3bea24c0a26a8971ad7.tar.gz gitea-27ff5e2e84d448dfbc2ba3bea24c0a26a8971ad7.zip |
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.
Diffstat (limited to 'web_src/css')
-rw-r--r-- | web_src/css/base.css | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/web_src/css/base.css b/web_src/css/base.css index 204b6a1560..bf7639859d 100644 --- a/web_src/css/base.css +++ b/web_src/css/base.css @@ -29,6 +29,7 @@ --checkbox-size: 15px; /* height and width of checkbox and radio inputs */ --page-spacing: 16px; /* space between page elements */ --page-margin-x: 32px; /* minimum space on left and right side of page */ + --page-space-bottom: 64px; /* space between last page element and footer */ } @media (min-width: 768px) and (max-width: 1200px) { @@ -479,7 +480,7 @@ img.ui.avatar, .full.height { flex-grow: 1; - padding-bottom: 80px; + padding-bottom: var(--page-space-bottom); } .status-page-error { |