Skip to content

Commit f7e09df

Browse files
committed
added navbar and response UI
1 parent d62cbf4 commit f7e09df

File tree

8 files changed

+13
-11
lines changed

8 files changed

+13
-11
lines changed

main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ function createWindow() {
117117
mainWindow = new BrowserWindow({
118118
width: 2000,
119119
height: 1000,
120-
minWidth: 1304,
121-
minHeight: 700,
120+
minWidth: 1000,
121+
minHeight: 600,
122122
backgroundColor: '-webkit-linear-gradient(top, #3dadc2 0%,#2f4858 100%)',
123123
show: false,
124124
webPreferences: {

src/client/components-v2/main/GRPCComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export default function GRPCComposer(props) {
176176
};
177177

178178
return(
179-
<Box className="is-flex is-flex-direction-column is-justify-content-space-between is-tall" id = "composer-grpc">
179+
<Box className="is-flex is-flex-direction-column is-justify-content-space-between" id = "composer-grpc">
180180
<div
181181
className="is-flex-grow-3 add-vertical-scroll"
182182
style={{ overflowX: 'hidden' }}

src/client/components-v2/main/GraphQLComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ export default function GraphQLComposer(props) {
236236
};
237237

238238
return(
239-
<Box className="is-flex is-flex-direction-column is-justify-content-space-between is-tall" id = "composer-graphql">
239+
<Box className="is-flex is-flex-direction-column is-justify-content-space-between" id = "composer-graphql">
240240
<div
241241
className="is-flex-grow-3 add-vertical-scroll"
242242
style={{ overflowX: 'hidden' }}

src/client/components-v2/main/MainContainer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ function MainContainer(props) {
109109
element={<WebhookComposer {...props} />}
110110
/>
111111
</Routes>
112-
<Divider orientation="horizontal"/>
112+
{/* <Divider orientation="horizontal"/> */}
113113
<ResponsePaneContainer />
114114
</Box>
115115
)

src/client/components-v2/main/OpenAPIComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ export default function OpenAPIComposer(props) {
120120
};
121121

122122
return(
123-
<Box className="is-flex is-flex-direction-column is-justify-content-space-between is-tall" id= "composer-openapi">
123+
<Box className="is-flex is-flex-direction-column is-justify-content-space-between" id= "composer-openapi">
124124
<div
125125
className="is-flex-grow-3 add-vertical-scroll"
126126
style={{ overflowX: 'hidden' }}

src/client/components-v2/main/WebRTCComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export default function WebRTCComposer(props) {
107107
};
108108

109109
return(
110-
<Box className="is-flex is-flex-direction-column is-justify-content-space-between is-tall"
110+
<Box className="is-flex is-flex-direction-column is-justify-content-space-between"
111111
id = "composer-webrtc"> <div
112112
className="is-flex-grow-3 add-vertical-scroll"
113113
style={{ overflowX: 'hidden' }}

src/client/components-v2/main/WebSocketComposer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ export default function WebSocketComposer(props) {
103103
};
104104

105105
return(
106-
<Box className="is-flex is-flex-direction-column is-justify-content-space-between is-tall" id = "composer-websocket">
106+
<Box className="is-flex is-flex-direction-column is-justify-content-space-between" id = "composer-websocket">
107107
<div
108108
className="is-flex-grow-3 add-vertical-scroll"
109109
style={{ overflowX: 'hidden' }}

src/client/components-v2/main/response/ResponsePaneContainer.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,9 +40,9 @@ const ResponsePaneContainer = () => {
4040

4141
return (
4242
<div
43-
className={`${isDark ? 'is-dark-400' : 'is-divider-neutral-300'} box is-child`} // gigi playing with css
43+
className={`${isDark ? 'is-dark-400' : 'is-divider-neutral-300'} box is-3 add-vertical-scroll`} // gigi playing with css
4444
// className={`${isDark ? 'is-dark-400' : ''} column is-one-third is-flex is-flex-direction-column is-tall`}
45-
style={{ height: '50vh', margin: "10px"}}
45+
style={{ height: '50vh', margin: "0px", padding: "0px"}}
4646
id="responses"
4747
>
4848

@@ -51,7 +51,9 @@ const ResponsePaneContainer = () => {
5151

5252

5353
{/* HEADER */}
54-
<div className="hero is-primary is-flex is-flex-direction-row is-justify-content-center">
54+
<div className="hero is-primary is-flex is-flex-direction-row is-justify-content-center"
55+
style={{padding: "10px"}}
56+
>
5557
<ResponseTime currentResponse={currentResponse} />
5658
{currentResponse.responseSize && (
5759
<div className="response-size-placement">

0 commit comments

Comments
 (0)