mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
Partner data sources: Remove horizontal groups (#106868)
* remove horizontal groups: * remove space
This commit is contained in:
@ -3,7 +3,7 @@ import { useMemo, useState } from 'react';
|
||||
|
||||
import { t } from '@grafana/i18n';
|
||||
import { reportInteraction } from '@grafana/runtime';
|
||||
import { HorizontalGroup, Icon, IconButton, Tooltip, useTheme2 } from '@grafana/ui';
|
||||
import { Stack, Icon, IconButton, Tooltip, useTheme2 } from '@grafana/ui';
|
||||
|
||||
import { QueryValidator, QueryValidatorProps } from './QueryValidator';
|
||||
|
||||
@ -70,7 +70,7 @@ export function QueryToolbox({ showTools, onFormatCode, onExpand, isExpanded, ..
|
||||
</div>
|
||||
{showTools && (
|
||||
<div>
|
||||
<HorizontalGroup spacing="sm">
|
||||
<Stack gap={1}>
|
||||
{onFormatCode && (
|
||||
<IconButton
|
||||
onClick={() => {
|
||||
@ -111,7 +111,7 @@ export function QueryToolbox({ showTools, onFormatCode, onExpand, isExpanded, ..
|
||||
>
|
||||
<Icon className={styles.hint} name="keyboard" />
|
||||
</Tooltip>
|
||||
</HorizontalGroup>
|
||||
</Stack>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user