From a0735c54dc11e90690ad1e5ea44105e0263e9cfb Mon Sep 17 00:00:00 2001 From: Corbin Date: Mon, 25 Sep 2023 12:39:15 -0400 Subject: [PATCH 1/2] RLS/Modal-min-width --- superset-frontend/src/features/rls/RowLevelSecurityModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx index 98ab55fa4294e..94ee9f1c9e37e 100644 --- a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx +++ b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx @@ -39,6 +39,7 @@ import { FilterType, RLSObject, RoleObject, TableObject } from './types'; const StyledModal = styled(Modal)` max-width: 1200px; + min-width: 352px; width: 100%; .ant-modal-body { overflow: initial; From a214f7a15998811013fffae43bf025a0ce2ab732 Mon Sep 17 00:00:00 2001 From: Corbin Date: Tue, 10 Oct 2023 11:17:31 -0400 Subject: [PATCH 2/2] min-content/nowrap --- superset-frontend/src/features/rls/RowLevelSecurityModal.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx index 94ee9f1c9e37e..d7e7af7126b92 100644 --- a/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx +++ b/superset-frontend/src/features/rls/RowLevelSecurityModal.tsx @@ -39,11 +39,14 @@ import { FilterType, RLSObject, RoleObject, TableObject } from './types'; const StyledModal = styled(Modal)` max-width: 1200px; - min-width: 352px; + 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;