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() {
227227 visibleTestcases = { visibleTestCases }
228228 />
229229 </ Col >
230- < Col span = { 12 } className = "second-col" >
230+ < Col span = { 12 } className = "second-col" style = { { height : "100%" } } >
231231 < Row className = "history-row" >
232232 < div className = "history-container" >
233233 < div className = "history-top-container" >
@@ -280,6 +280,10 @@ export default function QuestionPage() {
280280 visibility : `${
281281 isSubmissionLoading ? "hidden" : "visible"
282282 } `,
283+
284+ display : "flex" ,
285+ flexDirection : "column" ,
286+ height : "100%" ,
283287 } }
284288 >
285289 < div className = "code-top-container" >
@@ -330,8 +334,8 @@ export default function QuestionPage() {
330334 { /* Code Editor */ }
331335 < div
332336 style = { {
333- margin : "10px" ,
334- height : "35vh " ,
337+ marginTop : "10px" ,
338+ height : "100% " ,
335339 } }
336340 >
337341 < div
Original file line number Diff line number Diff line change 2121}
2222
2323.history-row {
24- height : 45% ;
2524 padding : 1rem 0.25rem 0.25rem ;
2625}
2726
2827.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% ;
3530 padding : 1rem 0.25rem 0.25rem ;
3631}
3732
4843 border : 2px solid #463f3a ;
4944 border-radius : 10px ;
5045 width : 100% ;
46+ height : 100% ;
5147 padding : 1rem ;
5248}
5349
5955 width : 120px ;
6056}
6157
62- .session-container {
63- border : 2px solid #463f3a ;
64- border-radius : 10px ;
65- width : 100% ;
66- padding : 1rem ;
67- }
68-
6958.question-title ,
7059.test-title ,
7160.code-title ,
72- .history-title ,
73- .session-title {
61+ .history-title {
7462 font-size : 16px ;
7563 font-weight : bold ;
7664}
8068 margin : 4px 0px ;
8169}
8270
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 {
10172 font-size : 14px ;
10273 font-weight : bold ;
10374}
10677 margin-right : 4px ;
10778}
10879
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-
14180.submission-header-detail {
14281 font-weight : normal ;
14382 display : flex ;
You can’t perform that action at this time.
0 commit comments