File tree Expand file tree Collapse file tree 2 files changed +12
-69
lines changed
apps/frontend/src/app/question/[id] Expand file tree Collapse file tree 2 files changed +12
-69
lines changed Original file line number Diff line number Diff line change @@ -227,7 +227,7 @@ export default function QuestionPage() {
227
227
visibleTestcases = { visibleTestCases }
228
228
/>
229
229
</ Col >
230
- < Col span = { 12 } className = "second-col" >
230
+ < Col span = { 12 } className = "second-col" style = { { height : "100%" } } >
231
231
< Row className = "history-row" >
232
232
< div className = "history-container" >
233
233
< div className = "history-top-container" >
@@ -280,6 +280,10 @@ export default function QuestionPage() {
280
280
visibility : `${
281
281
isSubmissionLoading ? "hidden" : "visible"
282
282
} `,
283
+
284
+ display : "flex" ,
285
+ flexDirection : "column" ,
286
+ height : "100%" ,
283
287
} }
284
288
>
285
289
< div className = "code-top-container" >
@@ -330,8 +334,8 @@ export default function QuestionPage() {
330
334
{ /* Code Editor */ }
331
335
< div
332
336
style = { {
333
- margin : "10px" ,
334
- height : "35vh " ,
337
+ marginTop : "10px" ,
338
+ height : "100% " ,
335
339
} }
336
340
>
337
341
< div
Original file line number Diff line number Diff line change 21
21
}
22
22
23
23
.history-row {
24
- height : 45% ;
25
24
padding : 1rem 0.25rem 0.25rem ;
26
25
}
27
26
28
27
.code-row {
29
- height : 55% ;
30
- padding : 1rem 0.25rem 0.25rem ;
31
- }
32
-
33
- .session-row {
34
- height : 20% ;
28
+ flex : 1 ;
29
+ height : 100% ;
35
30
padding : 1rem 0.25rem 0.25rem ;
36
31
}
37
32
48
43
border : 2px solid #463f3a ;
49
44
border-radius : 10px ;
50
45
width : 100% ;
46
+ height : 100% ;
51
47
padding : 1rem ;
52
48
}
53
49
59
55
width : 120px ;
60
56
}
61
57
62
- .session-container {
63
- border : 2px solid #463f3a ;
64
- border-radius : 10px ;
65
- width : 100% ;
66
- padding : 1rem ;
67
- }
68
-
69
58
.question-title ,
70
59
.test-title ,
71
60
.code-title ,
72
- .history-title ,
73
- .session-title {
61
+ .history-title {
74
62
font-size : 16px ;
75
63
font-weight : bold ;
76
64
}
80
68
margin : 4px 0px ;
81
69
}
82
70
83
- .session-duration ,
84
- .session-matched-user-label {
85
- margin : 4px 0px ;
86
- }
87
-
88
- .session-duration-timer {
89
- font-weight : normal ;
90
- margin-left : 8px ;
91
- }
92
-
93
- .session-matched-user-name {
94
- color : #e0afa0 ;
95
- margin-left : 8px ;
96
- }
97
-
98
- .topic-label ,
99
- .session-duration ,
100
- .session-matched-user-label {
71
+ .topic-label {
101
72
font-size : 14px ;
102
73
font-weight : bold ;
103
74
}
106
77
margin-right : 4px ;
107
78
}
108
79
109
- .session-end-button ,
110
- .test-case-button {
111
- width : fit-content ;
112
- }
113
-
114
- .modal-description {
115
- margin-bottom : 2rem ;
116
- }
117
-
118
- .session-modal-question ,
119
- .session-modal-difficulty ,
120
- .session-modal-duration ,
121
- .session-modal-matched-user {
122
- font-weight : bold ;
123
- }
124
-
125
- .session-modal-time ,
126
- .session-modal-title {
127
- font-weight : normal ;
128
- }
129
- .session-modal-matched-user-name {
130
- color : #e0afa0 ;
131
- }
132
-
133
- .info-modal-icon {
134
- color : red ;
135
- }
136
-
137
- .code-viewer {
138
- resize : none ;
139
- }
140
-
141
80
.submission-header-detail {
142
81
font-weight : normal ;
143
82
display : flex ;
You can’t perform that action at this time.
0 commit comments