You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2023/10/11 11:38:46 UTC

[superset] 02/02: fix(RLS): Fix Info Tooltip + Button Alignment on RLS Modal (#25400)

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

michaelsmolina pushed a commit to branch 3.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 69c2378747806c0281340a1af6c0f5e8311032a8
Author: Corbin Bullard <co...@gmail.com>
AuthorDate: Tue Oct 10 13:52:37 2023 -0400

    fix(RLS): Fix Info Tooltip + Button Alignment on RLS Modal (#25400)
    
    (cherry picked from commit a6d0e6f37a0713e1dfa8a943e3c8e8e68a4d2032)
---
 superset-frontend/src/features/rls/RowLevelSecurityModal.tsx | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx
index 84d8ca11d0..dac4858e4a 100644
--- a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx
+++ b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx
@@ -39,10 +39,14 @@ import { FilterType, RLSObject, RoleObject, TableObject } from './types';
 
 const StyledModal = styled(Modal)`
   max-width: 1200px;
+  min-width: min-content;
   width: 100%;
   .ant-modal-body {
     overflow: initial;
   }
+  .ant-modal-footer {
+    white-space: nowrap;
+  }
 `;
 const StyledIcon = (theme: SupersetTheme) => css`
   margin: auto ${theme.gridUnit * 2}px auto 0;