🩹(frontend) fix text overflow in message notification
Minor issue, layout overflow occurred when sharing url or long text.
This commit is contained in:
committed by
aleb_the_flash
parent
5af64e539d
commit
337181add8
@@ -64,7 +64,7 @@ export function ToastMessageReceived({ state, ...props }: ToastProps) {
|
|||||||
/>
|
/>
|
||||||
<span>{participant.name}</span>
|
<span>{participant.name}</span>
|
||||||
</div>
|
</div>
|
||||||
<Text margin={false} wrap={'pretty'} centered={false}>
|
<Text margin={false} centered={false} wrap={'pretty'} fullWidth>
|
||||||
{message}
|
{message}
|
||||||
</Text>
|
</Text>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -92,6 +92,11 @@ export const text = cva({
|
|||||||
marginBottom: 0.5,
|
marginBottom: 0.5,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
fullWidth: {
|
||||||
|
true: {
|
||||||
|
width: '100%',
|
||||||
|
},
|
||||||
|
},
|
||||||
last: {
|
last: {
|
||||||
true: {
|
true: {
|
||||||
marginBottom: '0!',
|
marginBottom: '0!',
|
||||||
|
|||||||
Reference in New Issue
Block a user