diff --git a/superset-frontend/src/components/DropdownSelectableIcon/index.tsx b/superset-frontend/src/components/DropdownSelectableIcon/index.tsx index a1b755dcf..12d23dc24 100644 --- a/superset-frontend/src/components/DropdownSelectableIcon/index.tsx +++ b/superset-frontend/src/components/DropdownSelectableIcon/index.tsx @@ -90,8 +90,9 @@ const StyleMenuItem = styled(Menu.Item)<{ divider?: boolean }>` const StyleSubmenuItem = styled.div` display: flex; justify-content: space-between; - > span { - width: 100%; + width: 100%; + > div { + flex-grow: 1; } `; @@ -102,7 +103,7 @@ export default (props: DropDownSelectableProps) => { () => (label: string | ReactNode, key: string, divider?: boolean) => ( - {label} + {label} {selectedKeys?.includes(key) && ( = ({ return ( <> - {/* eslint-disable-next-line jsx-a11y/no-static-element-interactions */} - +
{children} - +