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:36:53 UTC

(airflow-site) branch main updated: Fix text selection blocked by sticky button containers (#1503)

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

kaxilnaik 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 72e3529b19 Fix text selection blocked by sticky button containers (#1503)
72e3529b19 is described below

commit 72e3529b196139f32e05434c78039f58431d8a00
Author: Kaxil Naik <ka...@gmail.com>
AuthorDate: Thu Apr 16 01:36:47 2026 +0100

    Fix text selection blocked by sticky button containers (#1503)
    
    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; }
   }
 
 }