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 d71eea91cf Fixed positions of the button & scroll button improved for 
dark theme (#1332)
d71eea91cf is described below

commit d71eea91cf9dda440edea64326dd5ba5fbc75bf2
Author: Shashiranjan singh <[email protected]>
AuthorDate: Thu Dec 18 01:25:14 2025 +0530

    Fixed positions of the button & scroll button improved for dark theme 
(#1332)
---
 .../site/layouts/partials/buttons/button-with-arrow.html          | 2 +-
 .../sphinx_airflow_theme/suggest_change_button.html               | 8 ++++++++
 2 files changed, 9 insertions(+), 1 deletion(-)

diff --git a/landing-pages/site/layouts/partials/buttons/button-with-arrow.html 
b/landing-pages/site/layouts/partials/buttons/button-with-arrow.html
index 32d1f1d0da..257110b36c 100644
--- a/landing-pages/site/layouts/partials/buttons/button-with-arrow.html
+++ b/landing-pages/site/layouts/partials/buttons/button-with-arrow.html
@@ -17,7 +17,7 @@
     under the License.
    */}}
 <button id="{{ .id }}" class="btn-hollow btn-brown btn-with-icon 
with-box-shadow {{ .class }}">
-    <svg xmlns="http://www.w3.org/2000/svg"; width="24" height="24" 
fill="currentColor" viewBox="0 0 16 16">
+    <svg xmlns="http://www.w3.org/2000/svg"; width="24" height="24" 
fill="black" viewBox="0 0 16 16">
         <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"/>
     </svg>
 </button>
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 161fd629e4..34d544e369 100644
--- a/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html
+++ b/sphinx_airflow_theme/sphinx_airflow_theme/suggest_change_button.html
@@ -39,6 +39,14 @@
             {% set github_link = 'https://' ~ 
github_host|default("github.com") ~ '/' ~  github_user ~ '/' ~ github_repo ~ 
'/' ~ theme_vcs_pageview_mode|default("blob") ~ '/' ~  github_version ~ 
conf_py_path ~ pagename ~ suffix %}
         {% endif %}
         <div class="base-layout--button fade-target">
+            <button class="btn-hollow btn-brown with-box-shadow"
+            onclick="window.scrollTo({ top: 0, behavior: 'smooth' });"
+            aria-label="Scroll to top"
+            >
+            <svg xmlns="http://www.w3.org/2000/svg"; width="24" height="24" 
fill="black" viewBox="0 0 16 16">
+                <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">
 
                 <button class="btn-hollow btn-brown btn-with-icon 
with-box-shadow button-fixed">

Reply via email to