🩹(frontend) fix text overflow in message notification

Minor issue, layout overflow occurred when sharing url or
long text.
This commit is contained in:
lebaudantoine
2025-02-19 22:36:07 +01:00
committed by aleb_the_flash
parent 5af64e539d
commit 337181add8
2 changed files with 6 additions and 1 deletions

View File

@@ -64,7 +64,7 @@ export function ToastMessageReceived({ state, ...props }: ToastProps) {
/>
<span>{participant.name}</span>
</div>
<Text margin={false} wrap={'pretty'} centered={false}>
<Text margin={false} centered={false} wrap={'pretty'} fullWidth>
{message}
</Text>
</div>

View File

@@ -92,6 +92,11 @@ export const text = cva({
marginBottom: 0.5,
},
},
fullWidth: {
true: {
width: '100%',
},
},
last: {
true: {
marginBottom: '0!',