From 37b4d6b36f058fb1629cf48e5ef00e3b63ae877f Mon Sep 17 00:00:00 2001 From: antoine37120 <ant.dupre@gmail.com> Date: Fri, 15 Dec 2023 14:31:14 +0100 Subject: [PATCH] fix: responsive referent avatar --- src/styles/territory-profile.scss | 9 +++++++++ src/views-terrytories.js | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/styles/territory-profile.scss b/src/styles/territory-profile.scss index 81cecc4..f55f8a9 100644 --- a/src/styles/territory-profile.scss +++ b/src/styles/territory-profile.scss @@ -151,3 +151,12 @@ } } } + + +tzcld-regions-referent-jobs .segment.avatar-wrapper { + display: block; + .avatar.medium { + height: 100%; + width: 100%; + } +} diff --git a/src/views-terrytories.js b/src/views-terrytories.js index 63d2b32..ac0e7c0 100644 --- a/src/views-terrytories.js +++ b/src/views-terrytories.js @@ -197,7 +197,7 @@ import("./utils.js").then((utils) => { class-segment5="segment full padding-none padding-top-xsmall text-left whitespace-normal" class-member-picture="segment avatar-wrapper" class-account.picture="avatar medium" - class-name="block margin-top-xsmall margin-bottom-xxsmall text-xlarge text-bold text-color-heading whitespace-normal" + class-name="block margin-top-xlarge margin-bottom-xxsmall text-xlarge text-bold text-color-heading whitespace-normal" class-id="user-actions" widget-tzcld_profile.jobs="customtzcld-display-user-profile-first-job-referent-short" widget-account.picture="orbit-user-avatar" -- GitLab