Elastic: Fix image in #contactpic element on iOS 9

Looks like some svg in a flex container issue. Changed technique to center the image.
pull/6796/head
Aleksander Machniak 6 years ago
parent 183c62451a
commit d19377d276

@ -103,13 +103,13 @@ body.task-error-login #layout {
/*** Addressbook UI ***/ /*** Addressbook UI ***/
#contactpic { #contactpic {
min-width: @layout-contact-icon-width; width: @layout-contact-icon-width;
min-height: @layout-contact-icon-width; height: @layout-contact-icon-width;
border-radius: .5rem; border-radius: .5rem;
overflow: hidden; overflow: hidden;
display: flex; display:table-cell;
justify-content: center; vertical-align:middle;
align-items: center; text-align: center;
img { img {
max-width: @layout-contact-icon-width; max-width: @layout-contact-icon-width;

Loading…
Cancel
Save