diff options
author | Mario <mario@mariovavti.com> | 2024-05-02 17:21:53 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2024-05-02 17:21:53 +0000 |
commit | 977e6a02f4c21bbfc15e49f9b7247e3c216ba171 (patch) | |
tree | c1e2e4c0801d64173d11494091477788b2dab9f3 /view | |
parent | 6a53ddef2167ab96e4554b90d731e49cb7822bae (diff) | |
download | volse-hubzilla-977e6a02f4c21bbfc15e49f9b7247e3c216ba171.tar.gz volse-hubzilla-977e6a02f4c21bbfc15e49f9b7247e3c216ba171.tar.bz2 volse-hubzilla-977e6a02f4c21bbfc15e49f9b7247e3c216ba171.zip |
another css fix
Diffstat (limited to 'view')
-rw-r--r-- | view/js/main.js | 2 | ||||
-rw-r--r-- | view/tpl/hdr.tpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/view/js/main.js b/view/js/main.js index 8904f8b4c..5d273ee39 100644 --- a/view/js/main.js +++ b/view/js/main.js @@ -1823,7 +1823,7 @@ function toast(string, severity) { let toast = document.createElement('div'); toast.innerHTML = '<div class="d-flex"><div class="toast-body">' + string + '</div><button type="button" class="btn-close me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button></div>'; - toast.classList.add('toast', 'p-2', 'm-3', 'bg-' + severity + '-subtle', 'text-' + severity + '-emphasis', 'border-' + severity); + toast.classList.add('toast', 'p-2', 'bg-' + severity + '-subtle', 'text-' + severity + '-emphasis', 'border-' + severity); container.prepend(toast); let toastInstance = bootstrap.Toast.getOrCreateInstance(toast); diff --git a/view/tpl/hdr.tpl b/view/tpl/hdr.tpl index ba63830eb..f4f346fb7 100644 --- a/view/tpl/hdr.tpl +++ b/view/tpl/hdr.tpl @@ -1 +1 @@ -<div id="toast-container" class="d-flex position-fixed top-0 end-0"></div> +<div id="toast-container" class="vstack gap-3 m-3 position-fixed top-0 end-0"></div> |