You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2026/04/16 00:27:34 UTC

(airflow-site) 01/01: Fix text selection blocked by sticky button containers

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

kaxilnaik pushed a commit to branch fix-sticky-button-pointer-events
in repository https://gitbox.apache.org/repos/asf/airflow-site.git

commit 31394190633ec9a3cbd887a0d6797c8e3fff4aef
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Apr 16 01:27:27 2026 +0100

    Fix text selection blocked by sticky button containers
    
    The scroll-to-top and suggest-change button containers are full-width
    sticky elements (width: 100%) that sit at the bottom of the page.
    Even though the buttons are small, the invisible container spans the
    entire page width, intercepting pointer events and preventing text
    selection behind it.
    
    Fix: pointer-events: none on the containers, pointer-events: auto
    on the actual buttons.
---
 landing-pages/site/assets/scss/_base-layout.scss | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/landing-pages/site/assets/scss/_base-layout.scss b/landing-pages/site/assets/scss/_base-layout.scss
index 1d326fbc0e..f5c82beb41 100644
--- a/landing-pages/site/assets/scss/_base-layout.scss
+++ b/landing-pages/site/assets/scss/_base-layout.scss
@@ -29,6 +29,9 @@
     margin-right: 40px;
     bottom: 40px;
     z-index: 1;
+    pointer-events: none;
+
+    button, a { pointer-events: auto; }
   }
 
   &--suggestButton {
@@ -40,6 +43,9 @@
     margin-right: 40px;
     bottom: 40px;
     z-index: 1;
+    pointer-events: none;
+
+    button, a, .suggest-change-link { pointer-events: auto; }
   }
 
   &--button {
@@ -51,6 +57,9 @@
     bottom: 40px;
     justify-content: space-between;
     z-index: 1;
+    pointer-events: none;
+
+    button, a, .suggest-change-link { pointer-events: auto; }
   }
 
 }