use modern flat form styles with more icons (#4098)

This commit is contained in:
Kevin Papst
2023-06-09 19:16:36 +02:00
committed by GitHub
parent 053a1d9017
commit ce7fe67fcc
10 changed files with 80 additions and 42 deletions

View File

@@ -79,6 +79,12 @@ export default class KimaiDatePicker extends KimaiFormPlugin {
delete picker._wasPreselected;
}
});
// only if mobile.friendly plugin is activated
if (picker.backdrop !== undefined) {
// the node needs to be moved, so the flat form layout works properly (e.g. for date types)
document.body.appendChild(picker.backdrop);
}
},
}};