Skip to content

Commit ddb5fba

Browse files
committed
responsivenes
1 parent 1240504 commit ddb5fba

1 file changed

Lines changed: 7 additions & 19 deletions

File tree

src/style.css

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ main {
180180
}
181181

182182
.compiler-io {
183+
flex-grow: 1;
183184
display: flex;
184185
flex-direction: column;
185-
flex-grow: 1;
186186
overflow: hidden;
187187
}
188188

@@ -200,10 +200,15 @@ main {
200200
background-color: var(--bg-tertiary);
201201
}
202202

203+
#compiler-input {
204+
flex-grow: 1;
205+
flex: 6 1 0;
206+
}
207+
203208
.output-section {
204209
display: flex;
205210
flex-direction: column;
206-
flex: 0 0 30vh;
211+
flex: 4 1 0;
207212
transition: flex-basis 0.3s ease;
208213
overflow: auto;
209214
}
@@ -258,15 +263,7 @@ main {
258263
pointer-events: none;
259264
}
260265

261-
#compiler-input {
262-
flex-grow: 1;
263-
}
264-
265266
@media (max-width: 1080px) {
266-
.compiler-io {
267-
flex-direction: row;
268-
}
269-
270267
.portfolio {
271268
flex: 4 1 0;
272269
}
@@ -279,15 +276,6 @@ main {
279276
#compiler-input {
280277
flex: 6 1 0;
281278
}
282-
283-
.output-section {
284-
flex: 4 1 0;
285-
min-height: 40vh;
286-
}
287-
288-
.toggle {
289-
visibility: hidden;
290-
}
291279
}
292280

293281
#error-tooltip {

0 commit comments

Comments
 (0)