From 45920a7ab33bf1aca2d12109ad96b3f5cc35c0ae Mon Sep 17 00:00:00 2001 From: Vaishali Thakur <100770875+Vaishali054@users.noreply.github.com> Date: Sat, 20 Jan 2024 11:50:03 +0530 Subject: [PATCH] fix: keep long organization name inside profile container (#1450) --- src/components/LeftDrawerOrg/LeftDrawerOrg.module.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/LeftDrawerOrg/LeftDrawerOrg.module.css b/src/components/LeftDrawerOrg/LeftDrawerOrg.module.css index 3b9a5e0d34..d3026ce5c9 100644 --- a/src/components/LeftDrawerOrg/LeftDrawerOrg.module.css +++ b/src/components/LeftDrawerOrg/LeftDrawerOrg.module.css @@ -129,11 +129,18 @@ .leftDrawer .profileContainer .profileText { flex: 1; text-align: start; + overflow: hidden; } .leftDrawer .profileContainer .profileText .primaryText { font-size: 1.1rem; font-weight: 600; + overflow: hidden; + display: -webkit-box; + -webkit-line-clamp: 2; /* number of lines to show */ + -webkit-box-orient: vertical; + word-wrap: break-word; + white-space: normal; } .leftDrawer .profileContainer .profileText .secondaryText {