]> BookStack Code Mirror - bookstack/blobdiff - resources/assets/js/components/notification.js
fix entities.php
[bookstack] / resources / assets / js / components / notification.js
index daef5bd6f4e178e8b66df8c6eefecdfc859bcf08..c352a9c85328d7f9f412d83eb736f08569db48d7 100644 (file)
@@ -18,7 +18,7 @@ class Notification {
     show(textToShow = '') {
         this.elem.removeEventListener('transitionend', this.hideCleanup);
         this.textElem.textContent = textToShow;
-        this.elem.style.display = 'block';
+        this.elem.style.display = 'grid';
         setTimeout(() => {
             this.elem.classList.add('showing');
         }, 1);