Skip to content

Commit 145c19e

Browse files
committed
apply same fix to cpu and hardware requirements tooltips
1 parent 80c2896 commit 145c19e

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

source/renderer/app/components/status/DaedalusDiagnostics.tsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ import type { CoreSystemInfo } from '../../types/coreSystemInfoTypes';
2626
import type { TipInfo } from '../../api/network/types';
2727
import { ErrorType } from '../../domains/ApiError';
2828

29+
const popupZIndex = 10000;
30+
2931
const messages = defineMessages({
3032
systemInfo: {
3133
id: 'daedalus.diagnostics.dialog.system.info',
@@ -586,7 +588,12 @@ class DaedalusDiagnostics extends Component<Props, State> {
586588
{getSectionRow('systemInfo')}
587589
{getRow('platform', platform)}
588590
{getRow('platformVersion', platformVersion)}
589-
{getRow('cpu', <PopOver content={cpu}>{cpu}</PopOver>)}
591+
{getRow(
592+
'cpu',
593+
<PopOver zIndex={popupZIndex} content={cpu}>
594+
{cpu}
595+
</PopOver>
596+
)}
590597
{getRow('ram', ram)}
591598
{getRow(
592599
'availableDiskSpace',
@@ -603,6 +610,7 @@ class DaedalusDiagnostics extends Component<Props, State> {
603610
{getRow(
604611
'hasMetHardwareRequirementsLabel',
605612
<PopOver
613+
zIndex={popupZIndex}
606614
content={intl.formatMessage(
607615
hasMetHardwareRequirements
608616
? messages.hasMetHardwareRequirementsStatusGoodTooltip
@@ -661,7 +669,7 @@ class DaedalusDiagnostics extends Component<Props, State> {
661669
>
662670
<div className={styles.stateDirectoryPath}>
663671
<PopOver
664-
zIndex={10000}
672+
zIndex={popupZIndex}
665673
maxWidth={400}
666674
content={
667675
<div className={styles.tooltipLabelWrapper}>

0 commit comments

Comments
 (0)