Skip to content

Commit e8e8801

Browse files
committed
#265 Fix tooltip positioning
1 parent aef85a9 commit e8e8801

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

webapp/components/general/NetPyNEThumbnail.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,19 +75,16 @@ export default class NetPyNEThumbnail extends React.Component {
7575

7676
const props = this.getCommonProps();
7777
return (
78-
<>
78+
<Box position="relative">
7979
<Tooltip position="bottom" title={<HoverActions deleteAction={() => this.setState({ dialogOpen: true })} />} interactive>
80-
<Box position="relative">
81-
{getButton(isCog, isButton, label, selected, props)}
82-
83-
</Box>
80+
{getButton(isCog, isButton, label, selected, props)}
8481
</Tooltip>
8582
<DeleteDialogBox
8683
open={dialogOpen}
8784
onDialogResponse={this.handleDialogBox}
8885
textForDialog={name}
8986
/>
90-
</>
87+
</Box>
9188
);
9289
}
9390
}

workspace

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit f1d5dac95ab6c4a2868f072490b239bb1842d789

0 commit comments

Comments
 (0)