Skip to content

Commit 3eb4592

Browse files
Merge pull request #305 from cmu15122/skyism
fixing line wrapping bug
2 parents e0dd99c + 59a470b commit 3eb4592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/components/home/ta/StudentEntry.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ export default function StudentEntry(props) {
9393
{student.isFrozen && <PauseIcon fontSize="inherit" />}
9494
{<Typography variant="body2">[{student.topic.name}]</Typography>}
9595
{
96-
<Typography variant="body2" sx={{ whiteSpace: 'pre-line' }}>
96+
<Typography variant="body2" sx={{ whiteSpace: 'pre-line', wordBreak: 'break-word' }}>
9797
{' '}
9898
{student.question}{' '}
9999
</Typography>

0 commit comments

Comments
 (0)