mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Security] Fix integration card(s) wrapped in EuiTour not inheriting grid row height (#147041)
closes https://github.com/elastic/kibana/issues/147007
This commit is contained in:
parent
528f3bd3a5
commit
7e7a9fcc45
1 changed files with 12 additions and 1 deletions
|
@ -8,6 +8,7 @@
|
|||
import type { ReactNode, FunctionComponent } from 'react';
|
||||
import { useMemo } from 'react';
|
||||
import React, { useCallback, useState, useRef, useEffect } from 'react';
|
||||
import { css } from '@emotion/react';
|
||||
|
||||
import {
|
||||
EuiFlexGrid,
|
||||
|
@ -257,7 +258,17 @@ function GridColumn({
|
|||
{list.length ? (
|
||||
list.map((item) => {
|
||||
return (
|
||||
<EuiFlexItem key={item.id}>
|
||||
<EuiFlexItem
|
||||
key={item.id}
|
||||
// Ensure that cards wrapped in EuiTours/EuiPopovers correctly inherit the full grid row height
|
||||
css={css`
|
||||
& > .euiPopover,
|
||||
& > .euiPopover > .euiPopover__anchor,
|
||||
& > .euiPopover > .euiPopover__anchor > .euiCard {
|
||||
height: 100%;
|
||||
}
|
||||
`}
|
||||
>
|
||||
<PackageCard {...item} showLabels={showCardLabels} />
|
||||
</EuiFlexItem>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue