Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file Long Names in Contact are not wrapped, but cropped

More
11 years 4 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
Attachments:

Please Log in or Create an account to join the conversation.

More
11 years 4 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.
.personname {
    text-overflow: inherit !important;
    white-space: normal !important;
}
That should let the contact name field information show on several lines.

Olivier.

Please Log in or Create an account to join the conversation.

More
11 years 4 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

Please Log in or Create an account to join the conversation.

More
11 years 4 months ago #1375 by admin
You are welcome Sebastian!

Olivier.

Please Log in or Create an account to join the conversation.