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