Fixes for 1.12 (#4655)
* fix missing locales * bump composer packages * changed translations * assert timezone on customer * include user accountNumber in excel export * improve next customer number calculation * fix z-index of contextmenu / action dropdown
This commit is contained in:
@@ -70,7 +70,10 @@ export default class KimaiContextMenu {
|
||||
{
|
||||
const dropdownElement = this.getContextMenuElement();
|
||||
|
||||
dropdownElement.style.zIndex = '1021'; // stay on top of sticky elements (like table header)
|
||||
if (!dropdownElement.classList.contains('action-dropdown')) {
|
||||
dropdownElement.classList.add('action-dropdown');
|
||||
}
|
||||
|
||||
dropdownElement.innerHTML = html;
|
||||
dropdownElement.style.position = 'fixed';
|
||||
dropdownElement.style.top = (event.clientY) + 'px';
|
||||
|
||||
@@ -153,3 +153,10 @@ table.table-hover {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* For the context menu */
|
||||
.action-dropdown,
|
||||
.actions .dropdown .dropdown-menu {
|
||||
// stay on top of sticky elements (like table header)
|
||||
z-index: 1021;
|
||||
}
|
||||
Reference in New Issue
Block a user