diff --git a/css/backoffice/components/input/_input-select-icon.scss b/css/backoffice/components/input/_input-select-icon.scss index e497bb9be..5f9ae39cc 100644 --- a/css/backoffice/components/input/_input-select-icon.scss +++ b/css/backoffice/components/input/_input-select-icon.scss @@ -76,6 +76,7 @@ $ibo-input-select-icon--menu--icon--margin-right: 10px !default; display: flex; column-gap: 5px; + align-items: center; > img{ width: 32px; diff --git a/dictionaries/en.dictionary.itop.ui.php b/dictionaries/en.dictionary.itop.ui.php index 681e2c8ab..4d550d244 100644 --- a/dictionaries/en.dictionary.itop.ui.php +++ b/dictionaries/en.dictionary.itop.ui.php @@ -469,6 +469,7 @@ Dict::Add('EN US', 'English', 'English', [ 'UI:UserPref:DoNotShowAgain' => 'Do not show again', 'UI:InputFile:NoFileSelected' => 'No File Selected', 'UI:InputFile:SelectFile' => 'Select a file', + 'UI:InputFile:SelectImage' => 'Select an image', 'UI:SearchToggle' => 'Search', 'UI:ClickToCreateNew' => 'Create a %1$s', diff --git a/js/forms/choices_element.js b/js/forms/choices_element.js index 54099c1cb..76cf8031f 100644 --- a/js/forms/choices_element.js +++ b/js/forms/choices_element.js @@ -3,13 +3,21 @@ */ TomSelect.define('image_renderer', function(options) { this.settings.render.option = function(data, escape) { - return `