You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ru...@apache.org on 2026/02/22 20:01:48 UTC

(superset) branch fix-34721-colorpicker-alpha-input created (now 69ac6930db6)

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

rusackas pushed a change to branch fix-34721-colorpicker-alpha-input
in repository https://gitbox.apache.org/repos/asf/superset.git


      at 69ac6930db6 fix(ColorPicker): restore alpha input visibility hidden by geostyler CSS

This branch includes the following new commits:

     new 69ac6930db6 fix(ColorPicker): restore alpha input visibility hidden by geostyler CSS

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



(superset) 01/01: fix(ColorPicker): restore alpha input visibility hidden by geostyler CSS

Posted by ru...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

rusackas pushed a commit to branch fix-34721-colorpicker-alpha-input
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 69ac6930db671bf287a4974dcd6e92ff5c6e47ee
Author: Evan Rusackas <ev...@rusackas.com>
AuthorDate: Sun Feb 22 12:01:32 2026 -0800

    fix(ColorPicker): restore alpha input visibility hidden by geostyler CSS
    
    The geostyler library includes CSS that hides the AntD ColorPicker alpha
    input element (`.ant-color-picker-alpha-input`). This fix adds global
    style overrides to restore visibility of the alpha/opacity input field
    and slider.
    
    Fixes #34721
    
    🤖 Generated with [Claude Code](https://claude.ai/code)
    
    Co-Authored-By: Claude <no...@anthropic.com>
---
 .../packages/superset-core/src/ui/theme/GlobalStyles.tsx      | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/superset-frontend/packages/superset-core/src/ui/theme/GlobalStyles.tsx b/superset-frontend/packages/superset-core/src/ui/theme/GlobalStyles.tsx
index d3350a0efbd..5c001aeb5a3 100644
--- a/superset-frontend/packages/superset-core/src/ui/theme/GlobalStyles.tsx
+++ b/superset-frontend/packages/superset-core/src/ui/theme/GlobalStyles.tsx
@@ -98,6 +98,17 @@ export const GlobalStyles = () => {
         [role='button'] {
           cursor: pointer;
         }
+
+        // Override geostyler CSS that hides AntD ColorPicker alpha input
+        // See: https://github.com/apache/superset/issues/34721
+        .ant-color-picker .ant-color-picker-alpha-input {
+          display: block;
+        }
+
+        .ant-color-picker .ant-color-picker-slider-alpha {
+          display: flex;
+          margin-top: 8px;
+        }
       `}
     />
   );