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
|
<button
|
||||||
disabled={!request.url}
|
|
||||||
type="button"
|
type="button"
|
||||||
className="urlbar__send-btn"
|
className="urlbar__send-btn"
|
||||||
onClick={send}
|
onClick={send}
|
||||||
@ -204,7 +203,6 @@ export const RequestUrlBar = forwardRef<RequestUrlBarHandle, Props>(({
|
|||||||
</button>
|
</button>
|
||||||
<Dropdown key="dropdown" className="tall" right ref={dropdownRef}>
|
<Dropdown key="dropdown" className="tall" right ref={dropdownRef}>
|
||||||
<DropdownButton
|
<DropdownButton
|
||||||
disabled={!request.url}
|
|
||||||
className="urlbar__send-context"
|
className="urlbar__send-context"
|
||||||
onClick={() => dropdownRef.current?.show()}
|
onClick={() => dropdownRef.current?.show()}
|
||||||
>
|
>
|
||||||
|
@ -43,10 +43,6 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
.urlbar__send-btn,
|
|
||||||
.surprise {
|
|
||||||
border-right: 1px solid var(--hl);
|
|
||||||
}
|
|
||||||
.urlbar__send-context {
|
.urlbar__send-context {
|
||||||
padding-right: var(--padding-xs);
|
padding-right: var(--padding-xs);
|
||||||
padding-left: var(--padding-xs);
|
padding-left: var(--padding-xs);
|
||||||
@ -58,6 +54,10 @@
|
|||||||
& > .dropdown {
|
& > .dropdown {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
.urlbar__send-context,
|
||||||
|
.surprise {
|
||||||
|
border-left: 1px solid var(--hl-md);
|
||||||
|
}
|
||||||
|
|
||||||
button:focus,
|
button:focus,
|
||||||
button:hover {
|
button:hover {
|
||||||
|
Loading…
Reference in New Issue
Block a user