mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
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:
parent
b00b582c3d
commit
57b5493e9e
@ -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()}
|
||||
>
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user