diff --git a/plugins/kiali/src/components/VirtualList/Renderers.tsx b/plugins/kiali/src/components/VirtualList/Renderers.tsx index 4b471ca7a3..2f7f06bda0 100644 --- a/plugins/kiali/src/components/VirtualList/Renderers.tsx +++ b/plugins/kiali/src/components/VirtualList/Renderers.tsx @@ -44,6 +44,8 @@ const getIstioLink = (item: TResource): string => { }; // Links +// TODO: Will be used for details pages +// @ts-ignore const getLink = (item: TResource, config: Resource, query?: string): string => { let url = config.name === 'istio' @@ -87,10 +89,9 @@ export const actionRenderer = ( export const item: Renderer = ( resource: TResource, - config: Resource, + _: Resource, badge: PFBadgeType, ) => { - const key = `link_definition_${config.name}_${resource.namespace}_${resource.name}`; let serviceBadge = badge; if ('serviceRegistry' in resource && resource.serviceRegistry) { @@ -114,9 +115,7 @@ export const item: Renderer = ( style={{ verticalAlign: 'middle', whiteSpace: 'nowrap' }} > - - {resource.name} - + {resource.name} ); }; diff --git a/plugins/kiali/src/components/VirtualList/VirtualList.tsx b/plugins/kiali/src/components/VirtualList/VirtualList.tsx index cf5e101cdc..6757137811 100644 --- a/plugins/kiali/src/components/VirtualList/VirtualList.tsx +++ b/plugins/kiali/src/components/VirtualList/VirtualList.tsx @@ -132,7 +132,7 @@ export const VirtualList = (listProps: VirtualListProps) => { {listProps.tableToolbar} - + {columns.map((column: ResourceType, index: number) => ( { }; return ( - +
load()} /> { hiddenColumns={hiddenColumns} /> - +
); }; diff --git a/plugins/kiali/src/styles/StyleUtils.ts b/plugins/kiali/src/styles/StyleUtils.ts index 102edae91b..26199ddd20 100644 --- a/plugins/kiali/src/styles/StyleUtils.ts +++ b/plugins/kiali/src/styles/StyleUtils.ts @@ -13,3 +13,8 @@ export const kialiStyle = (styleProps: NestedCSSProperties) => { ...styleProps, }); }; + +export const baseStyle = kialiStyle({ + display: 'contents', + overflow: 'visible', +});