mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-06-12 09:24:29 +02:00
Smaller cancel button
This commit is contained in:
@@ -165,11 +165,11 @@ export function HttpResponsePane({ style, className, activeRequestId }: Props) {
|
|||||||
{activeResponse.state === 'initialized' ? (
|
{activeResponse.state === 'initialized' ? (
|
||||||
<EmptyStateText>
|
<EmptyStateText>
|
||||||
<VStack space={3}>
|
<VStack space={3}>
|
||||||
<HStack space={3} className="text-lg">
|
<HStack space={3}>
|
||||||
<LoadingIcon size="lg" className="text-text-subtlest" />
|
<LoadingIcon className="text-text-subtlest" />
|
||||||
Sending Request
|
Sending Request
|
||||||
</HStack>
|
</HStack>
|
||||||
<Button variant="border" onClick={() => cancel.mutate()}>Cancel</Button>
|
<Button size="sm" variant="border" onClick={() => cancel.mutate()}>Cancel</Button>
|
||||||
</VStack>
|
</VStack>
|
||||||
</EmptyStateText>
|
</EmptyStateText>
|
||||||
) : activeResponse.state === 'closed' && activeResponse.contentLength === 0 ? (
|
) : activeResponse.state === 'closed' && activeResponse.contentLength === 0 ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user