Fix URL bar spacing

This commit is contained in:
Gregory Schier
2023-03-20 17:01:29 -07:00
parent 268545c728
commit 74a1cb61c1
3 changed files with 10 additions and 5 deletions

View File

@@ -29,7 +29,7 @@ export const UrlBar = memo(function UrlBar({ id: requestId, url, method, classNa
);
return (
<form onSubmit={handleSubmit} className={className}>
<form onSubmit={handleSubmit} className={classnames('url-bar', className)}>
<Input
key={requestId}
hideLabel
@@ -42,7 +42,9 @@ export const UrlBar = memo(function UrlBar({ id: requestId, url, method, classNa
onChange={handleUrlChange}
defaultValue={url}
placeholder="Enter a URL..."
leftSlot={<RequestMethodDropdown method={method} onChange={handleMethodChange} />}
leftSlot={
<RequestMethodDropdown method={method} onChange={handleMethodChange} className="mx-0.5" />
}
rightSlot={
<IconButton
title="Send Request"