Fix URL bar buttons in expanded state

This commit is contained in:
Gregory Schier
2024-03-20 16:17:05 -07:00
parent 40669217fb
commit 23c4971127
2 changed files with 4 additions and 4 deletions

View File

@@ -346,7 +346,7 @@ export const RequestPane = memo(function RequestPane({
onChangeContentType={handleContentTypeChange} onChangeContentType={handleContentTypeChange}
/> />
) : ( ) : (
<EmptyStateText>No Body</EmptyStateText> <EmptyStateText>Empty Body</EmptyStateText>
)} )}
</TabContent> </TabContent>
</Tabs> </Tabs>

View File

@@ -60,7 +60,7 @@ export const UrlBar = memo(function UrlBar({
hideLabel hideLabel
useTemplating useTemplating
contentType="url" contentType="url"
className="px-0 py-0.5" className="pl-0 pr-1.5 py-0.5"
name="url" name="url"
label="Enter URL" label="Enter URL"
forceUpdateKey={forceUpdateKey} forceUpdateKey={forceUpdateKey}
@@ -76,7 +76,7 @@ export const UrlBar = memo(function UrlBar({
<RequestMethodDropdown <RequestMethodDropdown
method={method} method={method}
onChange={onMethodChange} onChange={onMethodChange}
className="!h-auto my-0.5 ml-0.5" className="my-0.5 ml-0.5"
/> />
) )
} }
@@ -87,7 +87,7 @@ export const UrlBar = memo(function UrlBar({
iconSize="md" iconSize="md"
title="Send Request" title="Send Request"
type="submit" type="submit"
className="w-8 !h-auto my-0.5 mr-0.5" className="w-8 my-0.5 mr-0.5"
icon={isLoading ? 'x' : submitIcon} icon={isLoading ? 'x' : submitIcon}
hotkeyAction="http_request.send" hotkeyAction="http_request.send"
/> />