diff --git a/src-web/App.tsx b/src-web/App.tsx index 5ee2b3fe..4767cb60 100644 --- a/src-web/App.tsx +++ b/src-web/App.tsx @@ -60,7 +60,7 @@ function App() { onUrlChange={setUrl} sendRequest={sendRequest} /> - + diff --git a/src-web/components/Dropdown.tsx b/src-web/components/Dropdown.tsx index 75cd8059..c32ba29c 100644 --- a/src-web/components/Dropdown.tsx +++ b/src-web/components/Dropdown.tsx @@ -185,7 +185,7 @@ function DropdownMenuRadioItem({ rightSlot, children, ...props }: DropdownMenuRa - + } rightSlot={rightSlot} @@ -263,7 +263,7 @@ const ItemInner = forwardRef(function ItemInner( )} {...props} > - {leftSlot &&
{leftSlot}
} + {leftSlot &&
{leftSlot}
}
{children}
{rightSlot &&
{rightSlot}
} diff --git a/src-web/components/Input.tsx b/src-web/components/Input.tsx index 5ebcbda6..b6baa4d4 100644 --- a/src-web/components/Input.tsx +++ b/src-web/components/Input.tsx @@ -54,8 +54,8 @@ export function Input({ className={classnames( className, 'bg-transparent min-w-0 pl-3 pr-2 h-full w-full focus:outline-none', - leftSlot && 'pl-1', - rightSlot && 'pr-1', + leftSlot && '!pl-1', + rightSlot && '!pr-1', )} {...props} /> diff --git a/src-web/components/UrlBar.tsx b/src-web/components/UrlBar.tsx index 5ee3f30b..5653ef9b 100644 --- a/src-web/components/UrlBar.tsx +++ b/src-web/components/UrlBar.tsx @@ -45,6 +45,10 @@ export function UrlBar({ sendRequest, onMethodChange, method, onUrlChange, url } { label: 'GET', value: 'GET' }, { label: 'PUT', value: 'PUT' }, { label: 'POST', value: 'POST' }, + { label: 'PATCH', value: 'PATCH' }, + { label: 'DELETE', value: 'DELETE' }, + { label: 'OPTIONS', value: 'OPTIONS' }, + { label: 'HEAD', value: 'HEAD' }, ]} >