Debug: Toast mit Sidebar computed styles
This commit is contained in:
parent
d399cb84cf
commit
bf26e5faf4
1 changed files with 5 additions and 1 deletions
|
|
@ -193,7 +193,11 @@ const App = (() => {
|
||||||
}
|
}
|
||||||
|
|
||||||
function _openSidebar() {
|
function _openSidebar() {
|
||||||
document.getElementById('sidebar')?.classList.add('open');
|
const s = document.getElementById('sidebar');
|
||||||
|
if (!s) { UI.toast.error('sidebar: NULL'); return; }
|
||||||
|
s.classList.add('open');
|
||||||
|
const cs = getComputedStyle(s);
|
||||||
|
UI.toast.info(`display:${cs.display} | transform:${cs.transform} | z:${cs.zIndex}`);
|
||||||
document.getElementById('sidebar-backdrop')?.classList.add('visible');
|
document.getElementById('sidebar-backdrop')?.classList.add('visible');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue