1
0
mirror of https://github.com/checktheroads/hyperglass synced 2024-05-11 05:55:08 +00:00

fix result button layout [skip ci]

This commit is contained in:
checktheroads
2020-12-26 09:26:48 -07:00
parent e407258f72
commit 9886020c53

View File

@@ -4,7 +4,7 @@ import {
Flex,
Alert,
Tooltip,
ButtonGroup,
HStack,
AccordionItem,
AccordionPanel,
AccordionButton,
@@ -181,13 +181,13 @@ export const Result = forwardRef<HTMLDivElement, TResult>((props, ref) => {
title={device.display_name}
/>
</AccordionButton>
<ButtonGroup px={[1, 1, 3, 3]} py={2}>
<HStack py={2} spacing={1}>
{isStructuredOutput(data) && data.level === 'success' && tableComponent && (
<Path device={device.name} />
)}
<CopyButton copyValue={copyValue} isDisabled={isLoading} />
<RequeryButton requery={refetch} isDisabled={isLoading} />
</ButtonGroup>
</HStack>
</AccordionHeaderWrapper>
<AccordionPanel
pb={4}