Roundcube profile image too big

Started by kandalf, March 25, 2022, 07:24:53 PM

Previous topic - Next topic

kandalf

I have a problem with Roundcube, when I open an email the profile image is too big.



How can I fix it?

iraqiboy90

First confirm this issue is present on other browsers.

If confirmed:

Edit this: if this is the Elastic theme you are using
/usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.css

Search for img.contactphoto

Check if this is added to it:
width:4rem;height:4rem;

hermesalvesbr

Kandalf, parece que você fala português. Você conseguiu instalar o laravel com o cwp pro?

kandalf

Quote from: hermesalvesbr on April 08, 2022, 10:39:15 PM
Kandalf, parece que você fala português. Você conseguiu instalar o laravel com o cwp pro?
Sim sem qualquer problema, tenho imenso sites em laravel a funcionar num servidor com CWP

David

Hello

I have the same problem of the stretched profile image occupying the whole panel where the email is shown.

I checked on more browsers and the result is the same

I checked the css style in /usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles/styles.css, the "img.contactphoto" is complete with border, height and the rest as follows: img.contactphoto{margin:0 1rem 0 0;border-radius:50%;width:4rem;height:4rem;object-fit:cover}

I tried to change it, but I see no effects at all whatever I do.

I also got another thing I do not understand how to solve.

When replying or writing a new message, despite I settled the configuration to always use html I get no editor tools to format the text, no emoticons (I already enabled the emoticons plugin)....

ekgrad

Did anyone find a solution to this problem

robsonwr

Good afternoon friends

has anyone found a solution to this problem?

any suggestion that works?

ekgrad

Yes I have found a solution

use the commands
cd /usr/local/cwpsrv/var/services/roundcube/skins/elastic/styles
nano -w styles.min.css

and add
.contactphoto {width: 4rem!important;height: 4rem!important;}

at the end of this file and save.

robsonwr