From 367873beaaa0b4eeda9fc075910c33195d1d8f3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Tue, 5 Dec 2017 11:33:10 +0100 Subject: [PATCH] Add avatars to share selection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix #208 Signed-off-by: Julius Härtl --- css/style.scss | 31 ++++++++++++++++++---------- templates/part.board.sidebarView.php | 8 +++++-- 2 files changed, 26 insertions(+), 13 deletions(-) diff --git a/css/style.scss b/css/style.scss index 8ea555390..efb9f9c3e 100644 --- a/css/style.scss +++ b/css/style.scss @@ -874,6 +874,12 @@ input.input-inline { /** * Board details */ + +#tabBoardShare .select2 .ui-select-choices-row-inner { + display: flex; + padding: 5px !important; +} + #shareWithList { list-style-type: none; padding: 0 0 16px; @@ -912,17 +918,17 @@ input.input-inline { .shareOption { margin-top: 5px; } +} - .avatardiv { - background-color: $color-lightgrey; - border-radius: 16px; - width: 32px; - height: 32px; +.avatardiv { + background-color: $color-lightgrey; + border-radius: 16px; + width: 32px; + height: 32px; - .icon-group { - padding: 16px; - opacity: 0.5; - } + .icon-group { + padding: 16px; + opacity: 0.5; } } @@ -1017,6 +1023,9 @@ input.input-inline { overflow: hidden; } } + .select2-choice { + height: auto; + } } .ui-select-container[disabled] .ui-select-match-item { @@ -1036,9 +1045,9 @@ input.input-inline { .select2-result-label { padding: 0px !important; - + display: flex; span { - display: flex; + flex-grow: 1; padding: 6px; } } diff --git a/templates/part.board.sidebarView.php b/templates/part.board.sidebarView.php index b3e031eba..3ab7d6de4 100644 --- a/templates/part.board.sidebarView.php +++ b/templates/part.board.sidebarView.php @@ -18,7 +18,7 @@
  • t('Tags')); ?>
  • -
    +
    {{ $item.participant.displayname }} - {{ sharee.participant.displayname }} +
    +
    + + {{ sharee.participant.displayname }} +
    t('No matching user or group found.')); ?>