From 0d5ade6dd31bfdb2dc253642b1d9917f668d5cc7 Mon Sep 17 00:00:00 2001 From: Evan Rusackas Date: Thu, 5 Mar 2026 20:45:11 -0500 Subject: [PATCH] fix(ColorPicker): restore alpha input visibility hidden by geostyler CSS (#38169) Co-authored-by: Superset Dev Co-authored-by: Claude Sonnet 4.6 --- .../packages/superset-core/src/theme/GlobalStyles.tsx | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/superset-frontend/packages/superset-core/src/theme/GlobalStyles.tsx b/superset-frontend/packages/superset-core/src/theme/GlobalStyles.tsx index d3350a0efbd..33a30a9fa61 100644 --- a/superset-frontend/packages/superset-core/src/theme/GlobalStyles.tsx +++ b/superset-frontend/packages/superset-core/src/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: ${theme.marginXS}px; + } `} /> );