updates
This commit is contained in:
@@ -1049,6 +1049,7 @@ h2.block-title i {
|
||||
|
||||
.no-wrap { white-space: nowrap; }
|
||||
.text-wrap { white-space: normal; }
|
||||
.text-spacing { line-height: 1.6; }
|
||||
|
||||
.hidden {
|
||||
position: absolute !important;
|
||||
|
||||
@@ -65,12 +65,12 @@ export class Overlay {
|
||||
|
||||
const modalEl = ui.previousElementSibling;
|
||||
|
||||
if (!modalEl || !modalEl.classList.contains('sp-modal')) {
|
||||
return;
|
||||
}
|
||||
|
||||
modalEl.classList.add('hide-bg');
|
||||
|
||||
modalEl.addEventListener('animationend', function() {
|
||||
this.remove();
|
||||
}, {
|
||||
once: true
|
||||
});
|
||||
modalEl.addEventListener('animationend', _ => modalEl.remove(), { once: true });
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user