Skip to content

Commit

Permalink
Navigation: wrap dashboard settings actions in ToolbarButtonRow for…
Browse files Browse the repository at this point in the history
… responsiveness (#62475)

wrap dashboard actions in toolbarbuttonrow for responsiveness
  • Loading branch information
ashharrison90 authored Feb 1, 2023
1 parent 2686695 commit 0a780d9
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { useLocation } from 'react-router-dom';

import { locationUtil, NavModel, NavModelItem } from '@grafana/data';
import { locationService } from '@grafana/runtime';
import { Button, PageToolbar } from '@grafana/ui';
import { Button, PageToolbar, ToolbarButtonRow } from '@grafana/ui';
import { AppChromeUpdate } from 'app/core/components/AppChrome/AppChromeUpdate';
import { Page } from 'app/core/components/PageNew/Page';
import config from 'app/core/config';
Expand Down Expand Up @@ -82,7 +82,7 @@ export function DashboardSettings({ dashboard, editview, pageNav, sectionNav }:
{actions}
</PageToolbar>
) : (
<AppChromeUpdate actions={actions} />
<AppChromeUpdate actions={<ToolbarButtonRow alignment="right">{actions}</ToolbarButtonRow>} />
)}
<currentPage.component sectionNav={subSectionNav} dashboard={dashboard} editIndex={editIndex} />
</>
Expand Down

0 comments on commit 0a780d9

Please sign in to comment.