fix(core): update

This commit is contained in:
Philipp Kunz 2023-09-13 19:15:53 +02:00
parent c389e43e93
commit e3babde7e8
2 changed files with 9 additions and 4 deletions

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@design.estate/dees-catalog',
version: '1.0.196',
version: '1.0.197',
description: 'website for lossless.com'
}

View File

@ -86,7 +86,7 @@ export class DeesModal extends DeesElement {
}
.modal {
will-change: transform;
transform: translateY(10px);
transform: translateY(0px) scale(0.95);
opacity: 0;
width: 480px;
min-height: 120px;
@ -100,7 +100,12 @@ export class DeesModal extends DeesElement {
.modal.show {
opacity: 1;
transform: translateY(0px);
transform: translateY(0px) scale(1);
}
.modal.show.predestroy {
opacity: 0;
transform: translateY(10px) scale(1);
}
.modal .heading {
@ -183,7 +188,7 @@ export class DeesModal extends DeesElement {
public async destroy() {
const domtools = await this.domtoolsPromise;
const modal = this.shadowRoot.querySelector('.modal');
modal.classList.remove('show');
modal.classList.add('predestroy');
await domtools.convenience.smartdelay.delayFor(200);
document.body.removeChild(this);
await this.windowLayer.destroy();