File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
packages/module/src/CullingInfo Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11import React from 'react' ;
22import { ExclamationCircleIcon , ExclamationTriangleIcon } from '@patternfly/react-icons' ;
3- import { Tooltip , TooltipProps } from '@patternfly/react-core' ;
3+ import { Button , Tooltip , TooltipProps } from '@patternfly/react-core' ;
44import clsx from 'clsx' ;
55import { createUseStyles } from 'react-jss' ;
66
@@ -31,7 +31,7 @@ const useStyles = createUseStyles({
3131 marginRight : 'var(--pf-t--global--spacer--sm)'
3232 } ,
3333 messageFont : {
34- fontWeight : 'var(--pf-t--global--font--weight--200 )' ,
34+ fontWeight : 'var(--pf-t--global--font--weight--body--bold )' ,
3535 } ,
3636} ) ;
3737
@@ -101,8 +101,12 @@ const CullingInformation: React.FunctionComponent<CullingInformation> = ({
101101 < span
102102 className = { clsx ( { [ classes . inventoryCullingWarning ] : isWarn , [ classes . inventoryCullingDanger ] : isError } , className ) }
103103 >
104- { isWarn && < ExclamationTriangleIcon className = { clsx ( classes . iconMargin ) } /> }
105- { isError && < ExclamationCircleIcon className = { clsx ( classes . iconMargin ) } /> }
104+ { isWarn &&
105+ < Button variant = "plain" aria-label = "Action" role = "tooltip" icon = { < ExclamationTriangleIcon className = { clsx ( classes . iconMargin , classes . inventoryCullingWarning ) } /> } />
106+ }
107+ { isError &&
108+ < Button variant = "plain" aria-label = "Action" role = "tooltip" icon = { < ExclamationCircleIcon className = { clsx ( classes . iconMargin , classes . inventoryCullingDanger ) } /> } />
109+ }
106110 < span className = { clsx ( classes . messageFont ) } >
107111 { render ( { msg } ) }
108112 </ span >
You can’t perform that action at this time.
0 commit comments