Merge pull request #868 from ae-utbm/delete-picture-confirm-button

Delete picture confirm button
This commit is contained in:
thomas girod
2024-10-14 14:12:50 +02:00
committed by GitHub
17 changed files with 740 additions and 315 deletions

View File

@ -333,9 +333,18 @@ a:not(.button) {
border: #fc8181 1px solid;
}
.alert-title {
margin-top: 0;
}
.alert-main {
flex: 2;
}
.alert-aside {
display: flex;
flex-direction: column;
}
}
.tool_bar {

View File

@ -148,7 +148,6 @@ import type {
GroupedDataFormat,
LoadingData,
Options,
PlainObject,
} from "select2";
import "select2/dist/css/select2.css";
@ -181,7 +180,7 @@ interface Select2Options {
* Create a new select2 with sith presets
*/
export function sithSelect2(options: Select2Options) {
const elem: PlainObject = $(options.element);
const elem = $(options.element as HTMLInputElement);
return elem.select2({
theme: elem[0].multiple ? "classic" : "default",
minimumInputLength: 2,