-
-
Notifications
You must be signed in to change notification settings - Fork 61
Expand file tree
/
Copy pathEditorComponent.css
More file actions
58 lines (50 loc) · 839 Bytes
/
EditorComponent.css
File metadata and controls
58 lines (50 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
/* EditorComponent.css */
.editor-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100vh;
}
.layout {
display: flex;
flex-direction: column;
height: 100%;
margin-left: 0.5rem;
margin-right: 0.5rem;
padding: 0.5rem;
border-radius: 1rem;
transition: background-color 0.3s ease;
}
.sidebar {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
margin-top: 1rem;
}
.editor {
width: 100%;
height: 70vh;
}
.output {
height: 22.3vh;
overflow-y: auto;
padding: 1rem;
margin: 0.5rem;
border-radius: 1rem;
transition: background-color 0.3s ease;
}
/* Responsive layout */
@media (min-width: 768px) {
.layout {
flex-direction: row;
}
.sidebar {
width: 15vw;
margin-top: 0;
}
.editor {
width: 85vw;
height: 70vh;
}
}