This is an automated email from the ASF dual-hosted git repository.

sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git


The following commit(s) were added to refs/heads/main by this push:
     new 1a9d3e1  Make top margin more consistent between pages
1a9d3e1 is described below

commit 1a9d3e14a9d70d3f563341f6a22b1d7591dd7891
Author: Sean B. Palmer <[email protected]>
AuthorDate: Mon Dec 29 15:20:53 2025 +0000

    Make top margin more consistent between pages
---
 atr/shared/distribution.py | 2 +-
 atr/static/css/atr.css     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/atr/shared/distribution.py b/atr/shared/distribution.py
index 11c8494..4c2d6ad 100644
--- a/atr/shared/distribution.py
+++ b/atr/shared/distribution.py
@@ -120,7 +120,7 @@ class DistributeForm(form.Form):
 
 # TODO: Move this to an appropriate module
 def html_nav(container: htm.Block, back_url: str, back_anchor: str, phase: 
Phase) -> None:
-    classes = ".d-flex.justify-content-between.align-items-center.mt-4"
+    classes = ".d-flex.justify-content-between.align-items-center"
     block = htm.Block(htm.p, classes=classes)
     block.a(".atr-back-link", href=back_url)[f"← Back to {back_anchor}"]
     span = htm.Block(htm.span)
diff --git a/atr/static/css/atr.css b/atr/static/css/atr.css
index c3c262d..37de2f6 100644
--- a/atr/static/css/atr.css
+++ b/atr/static/css/atr.css
@@ -124,7 +124,7 @@ footer {
 }
 
 h1 {
-    margin-top: 1.5rem;
+    margin-top: 0;
     margin-bottom: 1.5rem;
     line-height: 1.35;
 }
@@ -369,6 +369,7 @@ span.warning {
 .main-content {
     flex: 1;
     padding: 1rem 3rem;
+    margin-top: 1.5rem;
 }
 
 .nav-toggle {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to