Skip to content

Commit cadb6ad

Browse files
authored
Merge pull request #113 from Lemoncode/#111--Error-in-student-boards
Problem with Firefox solved
2 parents 918cdb8 + 0d232aa commit cadb6ad

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎front/src/core/const.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ export const SocketOuputMessageLiteral = {
66
};
77

88
export const SocketEmitMessageTypes = {
9-
TRAINER_APPEND_TEXT: 'TRAINER_APPEND_TEXT', // Master creates a user story
10-
TRAINER_SET_FULL_TEXT: 'TRAINER_SET_FULL_TEXT', // Master updates the whole log
9+
TRAINER_APPEND_TEXT: 'TRAINER_APPEND_TEXT', // Trainer add new text
10+
TRAINER_SET_FULL_TEXT: 'TRAINER_SET_FULL_TEXT', // Trainer send full session text
1111
TRAINER_REQUEST_FULL_CONTENT: 'TRAINER_REQUEST_FULL_CONTENT', // Trainer checks if there's previous session content when connecting
1212
STUDENT_REQUEST_FULL_CONTENT: 'STUDENT_REQUEST_FULL_CONTENT', // Student checks if there's previous session content when connecting
1313
};

‎front/src/pods/student/student.styles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const studentBoard = css`
2020
padding: ${spacing(2)};
2121
font-family: ${typography.fontFamily};
2222
font-size: 1rem;
23-
white-space: nowrap;
23+
white-space: pre-wrap;
2424
resize: none;
2525
background-color: ${color.background};
2626
border: 2px solid ${color.secondary};

‎front/src/pods/trainer/components/session.styles.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const studentBoard = css`
1919
font-size: 1rem;
2020
background-color: ${color.background};
2121
border: 2px solid ${color.secondary};
22-
white-space: nowrap;
22+
white-space: pre-wrap;
2323
resize: none;
2424
&:focus {
2525
outline: none;

0 commit comments

Comments
 (0)