fix styling

This commit is contained in:
2026-06-30 15:39:11 +02:00
parent 9ff162564f
commit b6568a80b9
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -12,6 +12,10 @@ const focusableSelector = [
"[tabindex]:not([tabindex='-1'])"
].join(",");
if (chatDrawer && chatDrawer.parentElement !== document.body) {
document.body.appendChild(chatDrawer);
}
function getFocusableElements() {
if (!chatDrawer) return [];
return Array.from(chatDrawer.querySelectorAll(focusableSelector))