mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-04-23 00:58:32 +02:00
Fix button styles
This commit is contained in:
@@ -221,14 +221,14 @@ export function GrpcConnectionSetupPane({
|
|||||||
{isStreaming && (
|
{isStreaming && (
|
||||||
<>
|
<>
|
||||||
<IconButton
|
<IconButton
|
||||||
className="border border-background-highlight-secondary"
|
variant="border"
|
||||||
size="sm"
|
size="sm"
|
||||||
title="Cancel"
|
title="Cancel"
|
||||||
onClick={onCancel}
|
onClick={onCancel}
|
||||||
icon="x"
|
icon="x"
|
||||||
/>
|
/>
|
||||||
<IconButton
|
<IconButton
|
||||||
className="border border-background-highlight-secondary"
|
variant="border"
|
||||||
size="sm"
|
size="sm"
|
||||||
title="Commit"
|
title="Commit"
|
||||||
onClick={onCommit}
|
onClick={onCommit}
|
||||||
@@ -237,8 +237,8 @@ export function GrpcConnectionSetupPane({
|
|||||||
</>
|
</>
|
||||||
)}
|
)}
|
||||||
<IconButton
|
<IconButton
|
||||||
className="border border-background-highlight-secondary"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
|
variant="border"
|
||||||
title={isStreaming ? 'Connect' : 'Send'}
|
title={isStreaming ? 'Connect' : 'Send'}
|
||||||
hotkeyAction="grpc_request.send"
|
hotkeyAction="grpc_request.send"
|
||||||
onClick={isStreaming ? handleSend : handleConnect}
|
onClick={isStreaming ? handleSend : handleConnect}
|
||||||
@@ -247,8 +247,8 @@ export function GrpcConnectionSetupPane({
|
|||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<IconButton
|
<IconButton
|
||||||
className="border border-background-highlight-secondary"
|
|
||||||
size="sm"
|
size="sm"
|
||||||
|
variant="border"
|
||||||
title={methodType === 'unary' ? 'Send' : 'Connect'}
|
title={methodType === 'unary' ? 'Send' : 'Connect'}
|
||||||
hotkeyAction="grpc_request.send"
|
hotkeyAction="grpc_request.send"
|
||||||
onClick={isStreaming ? onCancel : handleConnect}
|
onClick={isStreaming ? onCancel : handleConnect}
|
||||||
|
|||||||
@@ -242,6 +242,7 @@ export const Editor = forwardRef<EditorView | undefined, EditorProps>(function E
|
|||||||
size="sm"
|
size="sm"
|
||||||
title="Reformat contents"
|
title="Reformat contents"
|
||||||
icon="magicWand"
|
icon="magicWand"
|
||||||
|
variant="border"
|
||||||
className={classNames(actionClassName)}
|
className={classNames(actionClassName)}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (cm.current === null) return;
|
if (cm.current === null) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user