Use select2 for user picture identification

This commit is contained in:
thomas girod
2024-08-01 19:02:29 +02:00
parent b0d7bbbb79
commit 48f605dbe0
12 changed files with 235 additions and 151 deletions

View File

@ -227,7 +227,6 @@ function remote_data_source(source, options) {
if (!!options.overrides) {
Object.assign(params, options.overrides);
}
console.log(params);
return { ajax: params };
}

View File

@ -616,36 +616,36 @@ a:not(.button) {
}
.select2 {
.select2 {
margin: 0;
max-width: 100%;
min-width: 100%;
ul {
margin: 0;
max-width: 100%;
min-width: 100%;
}
ul {
margin: 0;
}
textarea {
background-color: inherit;
}
textarea {
background-color: inherit;
}
.select2-container--default {
color: black;
}
}
.select2-results {
.select-item {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
.select2-container--default {
color: black;
}
}
.select2-results {
.select-item {
display: flex;
flex-direction: row;
gap: 10px;
align-items: center;
img {
max-height: 40px;
border-radius: 50%;
}
img {
max-height: 40px;
border-radius: 50%;
}
}
}
#news_details {
display: inline-block;