Skip to content

Commit

Permalink
fix: keep long organization name inside profile container (#1450)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vaishali054 authored Jan 20, 2024
1 parent b63743e commit 45920a7
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/LeftDrawerOrg/LeftDrawerOrg.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 45920a7

Please sign in to comment.