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

wave 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 b586051  Make fixed topnav require enough width (#415)
b586051 is described below

commit b5860511150bb64b3fdaeacbbd53b3b9c2a2b78d
Author: Dave Fisher <[email protected]>
AuthorDate: Tue Dec 9 13:10:36 2025 -0800

    Make fixed topnav require enough width (#415)
---
 .pre-commit-config.yaml         |  2 ++
 atr/static/css/atr.css          | 20 +++++++++++++++++++-
 atr/templates/layouts/base.html | 30 +++++++-----------------------
 3 files changed, 28 insertions(+), 24 deletions(-)

diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index cb65e96..fc00d59 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -54,6 +54,8 @@ repos:
   hooks:
     - id: djhtml
       files: .*/.*\.html$
+    - id: djcss
+      files: .*/atr.css$
 #- repo: https://github.com/Riverside-Healthcare/djLint
 #  rev: v1.36.4
 #  hooks:
diff --git a/atr/static/css/atr.css b/atr/static/css/atr.css
index 88483c4..a543923 100644
--- a/atr/static/css/atr.css
+++ b/atr/static/css/atr.css
@@ -68,6 +68,24 @@ html {
     text-align: center;
 }
 
+.asf-logo {
+    height: 42px;
+    margin-left: 6px;
+}
+
+.trusted-releases {
+    position: relative;
+    top: -10px;
+    margin-left: 10px;
+    font-weight: 650 !important;
+}
+
+.navbar-adp-offset {
+    position: relative;
+    top: 3px;
+    margin-left: 16px;
+}
+
 .navbar-ribbon {
     position: relative;
 }
@@ -352,7 +370,7 @@ span.warning {
 
 @media (width <= 990px) {
     .dropdown-menu {
-       max-height: 40vh;
+        max-height: 40vh;
     }
 }
 
diff --git a/atr/templates/layouts/base.html b/atr/templates/layouts/base.html
index 78293ae..c80ea46 100644
--- a/atr/templates/layouts/base.html
+++ b/atr/templates/layouts/base.html
@@ -17,30 +17,14 @@
             href="{{ static_url('css/bootstrap-icons.min.css') }}" />
       <link rel="stylesheet" href="{{ static_url('css/bootstrap.custom.css') 
}}" />
       <style>
-        body {
-          padding-top: 72px;
-        }
-
-        .fixed-top {
-          position: fixed;
-        }
-
-        .asf-logo {
-          height: 42px;
-          margin-left: 6px;
-        }
-
-        .trusted-releases {
-          position: relative;
-          top: -10px;
-          margin-left: 10px;
-          font-weight: 650 !important;
-        }
+        @media (min-width: 990px) {
+          body {
+            padding-top: 72px;
+          }
 
-        .navbar-adp-offset {
-          position: relative;
-          top: 3px;
-          margin-left: 16px;
+          .fixed-top {
+            position: fixed;
+          }
         }
       </style>
     {% endblock stylesheets %}


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

Reply via email to