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

potiuk pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow-site.git


The following commit(s) were added to refs/heads/main by this push:
     new bd46a1b73a Fix navbar drawer spacing and scroll to top button margin 
(#1386)
bd46a1b73a is described below

commit bd46a1b73a70156c6eedacc71425363b0555cbbc
Author: Prakash Kumar <[email protected]>
AuthorDate: Fri Jan 16 19:26:38 2026 +0530

    Fix navbar drawer spacing and scroll to top button margin (#1386)
    
    * Fix navbar drawer spacing and scrollButton margin
    
    * Adjust docs action buttons visibility
    
    * fix:css improved
---
 landing-pages/site/assets/scss/_base-layout.scss       | 18 ++++++++++++++++--
 landing-pages/site/assets/scss/_navbar.scss            |  4 ++--
 .../sphinx_airflow_theme/suggest_change_button.html    |  2 +-
 3 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/landing-pages/site/assets/scss/_base-layout.scss 
b/landing-pages/site/assets/scss/_base-layout.scss
index 69241171c8..ea0c1c4b6a 100644
--- a/landing-pages/site/assets/scss/_base-layout.scss
+++ b/landing-pages/site/assets/scss/_base-layout.scss
@@ -60,7 +60,16 @@
   .base-layout {
     padding: 76px 0 60px;
 
-    &--suggestButton{
+    &--scrollButton {
+      margin-top: 20px;
+      margin-left: 0;
+    }
+
+    &--suggestButton {
+      display: none;
+    }
+
+    .suggest-change-link {
       display: none;
     }
 
@@ -70,7 +79,7 @@
 
     &--scrollButton button {
       width: 55px;
-      height: 55px; // Slightly increased button height
+      height: 55px;
       display: flex;
       align-items: center;
       justify-content: center;
@@ -81,9 +90,14 @@
       display: block;
     }
 
+    &--button {
+      margin-top: 16px;
+      margin-left: 0;
+    }
   }
 }
 
+
 .page-header {
   @extend .header__medium--greyish-brown;
   text-align: center;
diff --git a/landing-pages/site/assets/scss/_navbar.scss 
b/landing-pages/site/assets/scss/_navbar.scss
index c71c382350..0d0fcc3fbb 100644
--- a/landing-pages/site/assets/scss/_navbar.scss
+++ b/landing-pages/site/assets/scss/_navbar.scss
@@ -180,8 +180,8 @@
 
     &__drawer {
       position: fixed;
-      //top: 77px;
-      top: 117px; // TEMP - accommodate Airflow Summit banner (77 + 40)
+      top: 77px;
+      // top: 117px; // TEMP - accommodate Airflow Summit banner (77 + 40)
       left: 0;
       width: 100%;
       height: calc(100% - 77px);
diff --git 
a/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html 
b/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html
index 3d3cb4cfb6..22671dc967 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html
@@ -47,7 +47,7 @@
                 <path d="m7.247 4.86-4.796 5.481c-.566.647-.106 1.659.753 
1.659h9.592a1 1 0 0 0 .753-1.659l-4.796-5.48a1 1 0 0 0-1.506 0z"></path>
             </svg>
             </button>
-            <a href="{{ github_link }}" rel="nofollow">
+            <a href="{{ github_link }}" rel="nofollow" 
class="suggest-change-link">
 
                 <button class="btn-hollow btn-brown btn-with-icon 
with-box-shadow button-fixed">
                     <svg xmlns="http://www.w3.org/2000/svg"; width="30.76" 
height="30">

Reply via email to