1
0
mirror of https://github.com/nerzhul/ocsms.git synced 2025-06-07 16:06:15 +00:00

Fix two issues with very narrow displays. (#255)

First a contact that uses just the first initial would become "squished" instead of being round.
Second the "Please choose a conversation on the left menu" text would overlap itself if it wrapped around to a second line.
This commit is contained in:
Greg Ross 2018-07-09 14:47:30 -04:00 committed by Loïc Blot
parent afea0734e9
commit a51a2bb9c7

View File

@ -141,6 +141,7 @@
padding: 20px; padding: 20px;
color: #666; color: #666;
font-size: 32px; font-size: 32px;
line-height: normal;
} }
.msg-sent, .msg-recv { .msg-sent, .msg-recv {
@ -200,7 +201,9 @@
.ocsms-plavatar, .ocsms-plavatar-big { .ocsms-plavatar, .ocsms-plavatar-big {
display: inline-block; display: inline-block;
height: 40px; height: 40px;
min-height: 40px;
width: 40px; width: 40px;
min-width: 40px;
line-height: 40px; line-height: 40px;
border-radius: 50%; border-radius: 50%;
vertical-align: middle; vertical-align: middle;
@ -214,7 +217,9 @@
.ocsms-plavatar-big { .ocsms-plavatar-big {
height: 75px; height: 75px;
min-height: 75px;
width: 75px; width: 75px;
min-width: 75px;
line-height: 55px; line-height: 55px;
} }