Skip to content

Commit 8e65b8b

Browse files
committed
UI fixes for roomname greater than 50 chars
1 parent 3c04354 commit 8e65b8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PreJoinScreens/DeviceSelectionScreen/DeviceSelectionScreen.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export default function DeviceSelectionScreen({
241241

242242
return (
243243
<>
244-
<Typography variant="h5" className={classes.gutterBottom}>
244+
<Typography variant={roomName.length > 50 ? 'caption' : 'h5'} className={classes.gutterBottom}>
245245
Join {roomName}
246246
</Typography>
247247

0 commit comments

Comments
 (0)