From f82b5833aa1f7218e2df52999829630465214667 Mon Sep 17 00:00:00 2001 From: Guillaume Lajarige Date: Thu, 23 Jun 2016 08:59:18 +0000 Subject: [PATCH] Customers portal : Fixed a bug on profile picture edition. Button was not working on Firefox. SVN:trunk[4254] --- .../portal/src/views/bricks/user-profile/layout.html.twig | 4 ++-- datamodels/2.x/itop-portal-base/portal/web/css/portal.scss | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig index e376108891..6dd100fb30 100644 --- a/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig +++ b/datamodels/2.x/itop-portal-base/portal/src/views/bricks/user-profile/layout.html.twig @@ -59,10 +59,10 @@ - + {# diff --git a/datamodels/2.x/itop-portal-base/portal/web/css/portal.scss b/datamodels/2.x/itop-portal-base/portal/web/css/portal.scss index 1eef822bfc..d2e9d10dd2 100644 --- a/datamodels/2.x/itop-portal-base/portal/web/css/portal.scss +++ b/datamodels/2.x/itop-portal-base/portal/web/css/portal.scss @@ -515,6 +515,10 @@ footer{ max-height: 175px; overflow: hidden; } +#user-profile-wrapper .user_profile_picture .preview img{ + max-width: 100%; + max-height: 100%; +} #user-profile-wrapper .user_profile_picture .actions{ display: inline-block; vertical-align: top; /*middle;*/