Fix/split button quick fixes (#4953)

* move border

* remove disabled button props

* Update packages/insomnia/src/ui/css/components/request-url-bar.less
This commit is contained in:
Jack Kavanagh 2022-07-12 20:03:28 +02:00 committed by GitHub
parent b00b582c3d
commit 57b5493e9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 6 deletions

View File

@ -195,7 +195,6 @@ export const RequestUrlBar = forwardRef<RequestUrlBarHandle, Props>(({
) : (
<>
<button
disabled={!request.url}
type="button"
className="urlbar__send-btn"
onClick={send}
@ -204,7 +203,6 @@ export const RequestUrlBar = forwardRef<RequestUrlBarHandle, Props>(({
</button>
<Dropdown key="dropdown" className="tall" right ref={dropdownRef}>
<DropdownButton
disabled={!request.url}
className="urlbar__send-context"
onClick={() => dropdownRef.current?.show()}
>

View File

@ -43,10 +43,6 @@
}
}
.urlbar__send-btn,
.surprise {
border-right: 1px solid var(--hl);
}
.urlbar__send-context {
padding-right: var(--padding-xs);
padding-left: var(--padding-xs);
@ -58,6 +54,10 @@
& > .dropdown {
height: 100%;
}
.urlbar__send-context,
.surprise {
border-left: 1px solid var(--hl-md);
}
button:focus,
button:hover {