Postings

You can freely browse the forum and post in the community forum.
However, you need a valid license to write posts for support (own a valid commercial software license or have purchased a support membership).

Posts only show once reviewed. This is mainly preventive to keep spam away. Thank you for your understanding!

Long Names in Contact are not wrapped, but cropped

  • sescha
  • sescha's Avatar Topic Author
  • New Member
  • New Member
More
IP: 217.251.241.35 13 years 11 months ago #1364 by sescha
Hi,

my issue is that for long names that do not fit in one line on the contact card, the name gets truncated. Please see attached image.



I would rather have the name wrap in two lines. A truncated name is of no use on a contact card.

How can I change that?

Thanks! - Sebastian
More
IP: 109.211.5.162 13 years 11 months ago #1370 by admin
Hello Sebastian,
you are stretching the term 'contact name' quite a bit :-)
The contact name field can be longer different ways: you can make the text size smaller, make the contact card bigger and also you can override the CSS for the field to avoid the cropping.
Code:
.personname { text-overflow: inherit !important; white-space: normal !important; }
That should let the contact name field information show on several lines.

Olivier.
  • sescha
  • sescha's Avatar Topic Author
  • New Member
  • New Member
More
IP: 217.251.228.43 13 years 11 months ago #1373 by sescha
Thanks!

I had been looking for a php function in your scripts that was responsible for the text cropping, but failed to find it.

I did not know that it is possible to truncate by css. So today I learned something new! Great! Removed the "overflow: elipsis" and "nowrap" statements and now the text flows freely. Thanks!

Sebastian
More
IP: 212.198.134.5 13 years 11 months ago #1375 by admin
You are welcome Sebastian!

Olivier.