Skip to content
Snippets Groups Projects
Commit 1710aaf1 authored by Tögl, Christina's avatar Tögl, Christina
Browse files

Fix breadcrumb menu width

parent 5f9fdec8
No related branches found
No related tags found
No related merge requests found
Pipeline #79203 passed
......@@ -1974,6 +1974,7 @@ export class NextcloudFilePicker extends ScopedElementsMixin(DBPLitElement) {
// computations for overflow - end
if (!menu.classList.contains('hidden')) { // add event listener for clicking outside of menu
menu.setAttribute('style', 'max-width: ' + maxWidth + 'px;'); //TODO verify if this is enough
document.addEventListener('click', this.boundCloseBreadcrumbMenuHandler);
this.initateOpenBreadcrumbMenu = true;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment