From cd4e414d16b495b68c04de3d6681741b428ac5ea Mon Sep 17 00:00:00 2001 From: Elisee ADJIGUIDI Date: Mon, 26 Jun 2023 06:36:29 +0200 Subject: [PATCH] resize name conv --- containers/react/src/components/Messages/Chats.tsx | 2 +- containers/react/src/components/Profile/EditName.tsx | 2 +- containers/react/src/styles/Messages.css | 5 +++++ 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/containers/react/src/components/Messages/Chats.tsx b/containers/react/src/components/Messages/Chats.tsx index 7e51e3e6..1d039ded 100644 --- a/containers/react/src/components/Messages/Chats.tsx +++ b/containers/react/src/components/Messages/Chats.tsx @@ -538,7 +538,7 @@ function Chats(){ {/* User */}
- {c.name} +

{c.name}

{/* Desc? */}
diff --git a/containers/react/src/components/Profile/EditName.tsx b/containers/react/src/components/Profile/EditName.tsx index 87bb1358..1f71ba55 100644 --- a/containers/react/src/components/Profile/EditName.tsx +++ b/containers/react/src/components/Profile/EditName.tsx @@ -94,7 +94,7 @@ const ModalEdit = () => { initial="hidden" animate="visible" exit="exit"> -

Type your new name

+

Type your new name

diff --git a/containers/react/src/styles/Messages.css b/containers/react/src/styles/Messages.css index 61bf12a0..86573d23 100644 --- a/containers/react/src/styles/Messages.css +++ b/containers/react/src/styles/Messages.css @@ -409,3 +409,8 @@ input.in_howLong{ margin-left: -50px; } + +h2{ + overflow-wrap: break-word; + max-width: 200px; +}