Skip to content

Commit

Permalink
fix: mount action menu higher for rule row
Browse files Browse the repository at this point in the history
  • Loading branch information
tthvo committed Sep 8, 2024
1 parent dbe69fd commit 2de65d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/Rules/Rules.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import { MatchExpressionDisplay } from '@app/Shared/Components/MatchExpression/M
import { Rule, NotificationCategory } from '@app/Shared/Services/api.types';
import { ServiceContext } from '@app/Shared/Services/Services';
import { useSubscriptions } from '@app/utils/hooks/useSubscriptions';
import { TableColumn, formatBytes, formatDuration, sortResources } from '@app/utils/utils';
import { TableColumn, formatBytes, formatDuration, sortResources, portalRoot } from '@app/utils/utils';
import {
Button,
Card,
Expand Down Expand Up @@ -367,7 +367,7 @@ export const RulesTable: React.FC<RulesTableProps> = () => {
<ActionsColumn
items={actionResolver(r)}
popperProps={{
appendTo: () => document.getElementById('automated-rule-toolbar') || document.body,
appendTo: portalRoot,
position: 'right',
}}
/>
Expand Down

0 comments on commit 2de65d7

Please sign in to comment.