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 <[email protected]>
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 <[email protected]>
---
 .../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;
+        }
       `}
     />
   );

Reply via email to