mirror of
https://github.com/Kong/insomnia
synced 2024-11-07 22:30:15 +00:00
Small stuff
This commit is contained in:
parent
8ef81fdfb4
commit
3cec2e01f5
@ -82,7 +82,7 @@ class App extends Component {
|
|||||||
<section className="grid__cell section">
|
<section className="grid__cell section">
|
||||||
<div className="grid--v wide">
|
<div className="grid--v wide">
|
||||||
<header
|
<header
|
||||||
className="grid grid--center header text-center bg-light txt-sm section__header">
|
className="grid grid--center header text-center bg-super-light txt-sm section__header">
|
||||||
<div className="tag success"><strong>200</strong> SUCCESS</div>
|
<div className="tag success"><strong>200</strong> SUCCESS</div>
|
||||||
<div className="tag">TIME <strong>143ms</strong></div>
|
<div className="tag">TIME <strong>143ms</strong></div>
|
||||||
</header>
|
</header>
|
||||||
@ -109,6 +109,7 @@ class App extends Component {
|
|||||||
<Editor
|
<Editor
|
||||||
value={activeResponse && activeResponse.body || ''}
|
value={activeResponse && activeResponse.body || ''}
|
||||||
options={{
|
options={{
|
||||||
|
lineWrapping: true,
|
||||||
mode: 'text/plain',
|
mode: 'text/plain',
|
||||||
readOnly: true,
|
readOnly: true,
|
||||||
placeholder: 'nothing yet...'
|
placeholder: 'nothing yet...'
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
@import '../constants/dimensions';
|
@import '../constants/dimensions';
|
||||||
|
|
||||||
.ReactTabs {
|
.ReactTabs {
|
||||||
position: relative;
|
|
||||||
.ReactTabs__TabList {
|
.ReactTabs__TabList {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
@ -23,9 +22,8 @@
|
|||||||
color: inherit;
|
color: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
&,
|
|
||||||
button:hover {
|
button:hover {
|
||||||
background-color: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -34,10 +32,4 @@
|
|||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ReactTabs__TabPanel {
|
|
||||||
//position: absolute;
|
|
||||||
//width: 100%;
|
|
||||||
//height: 100%;
|
|
||||||
//border-top: 1px solid $hl-sm;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -22,7 +22,7 @@ $hl-xl: rgba(140, 140, 140, 0.5);
|
|||||||
$hl-xxl: rgba(140, 140, 140, 0.7);
|
$hl-xxl: rgba(140, 140, 140, 0.7);
|
||||||
$hl: rgba(140, 140, 140, 1);
|
$hl: rgba(140, 140, 140, 1);
|
||||||
|
|
||||||
$success: #91c74e;
|
$success: #85b94a;
|
||||||
$warning: #ffad36;
|
$warning: #ffad36;
|
||||||
$danger: #ff6d59;
|
$danger: #ff6d59;
|
||||||
$surprise: #a086ff;
|
$surprise: #a086ff;
|
||||||
|
@ -101,7 +101,7 @@ i.fa {
|
|||||||
|
|
||||||
.section:not(:last-child) {
|
.section:not(:last-child) {
|
||||||
.section__header {
|
.section__header {
|
||||||
|
border-right: 1px solid #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section__body {
|
.section__body {
|
||||||
|
@ -18,7 +18,9 @@ export default function (request, callback) {
|
|||||||
|
|
||||||
for (let i = 0; i < request.headers.length; i++) {
|
for (let i = 0; i < request.headers.length; i++) {
|
||||||
let header = request.headers[i];
|
let header = request.headers[i];
|
||||||
config.headers[header.name] = header.value;
|
if (header.name) {
|
||||||
|
config.headers[header.name] = header.value;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SNEAKY HACK: Render nested object by converting it to JSON then rendering
|
// SNEAKY HACK: Render nested object by converting it to JSON then rendering
|
||||||
|
Loading…
Reference in New Issue
Block a user