Fix HTML Quirks mode issues
This commit is contained in:
1 parent
b0d50b07e7
commit
6f29267266
2 files changed
+18
-5
No files matched your search
@@ -388,7 +388,7 @@ const component: ClosureComponent = (): Component => {
|
||||
function repositionNotifications(): void {
|
||||
let top = 10;
|
||||
for (const c of notificationElements as VnodeDOM[]) {
|
||||
(c.dom as HTMLDivElement).style.top = `${top}`;
|
||||
(c.dom as HTMLDivElement).style.top = `${top}px`;
|
||||
top += (c.dom as HTMLDivElement).offsetHeight + 10;
|
||||
}
|
||||
}
|
||||
@@ -408,7 +408,7 @@ const component: ClosureComponent = (): Component => {
|
||||
for (const c of drawerElement.children)
|
||||
height = Math.max(height, c.dom.offsetTop + c.dom.offsetHeight);
|
||||
}
|
||||
drawerElement.dom.style.height = height;
|
||||
drawerElement.dom.style.height = height + "px";
|
||||
}
|
||||
|
||||
if (stagingElements.length + queueElements.length) {
|
||||
|
||||
Reference in new issue
Block a user