Stupid margins + scrolling

This commit is contained in:
Nicolò P. 2024-11-21 08:04:07 +01:00
parent 32560fc396
commit 906daecbcc
3 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@ export class NotConservedSheet {
</p>
<div class="notification is-light mx-3 mt-4 mb-0 p-2 is-hidden" id="biblio">
</div>
<p class="p-2">
<p class="p-2 mb-4">
<strong>Autore scheda:</strong> ${this._data.author}
</p>
</div>`;

View File

@ -40,7 +40,7 @@ export class SiteSheet {
renderShort() {
return `
<div class="container ml-3">
<div class="container p-3">
<p class="p-2">
<span class="icon has-text-link">
<i class="fa fa-tag"></i>

View File

@ -161,6 +161,7 @@ UI.openNotConserModal = async function (data, selector) {
biblio.innerHTML = '<button class="delete"></button>';
biblio.innerHTML += sheet.getReference(id);
biblio.classList.remove('is-hidden');
biblio.scrollIntoView({behavior: 'smooth'});
}
if (event.target.className == 'delete') {