UI: fixes based on Actionable Feedback from devtalk and frontend changes #40

Merged
Pablo Vazquez merged 15 commits from martonlente/extensions-website:ui-alpha-launch-actionable-feedback into main 2024-02-27 16:05:54 +01:00
Showing only changes of commit 0c29a23f42 - Show all commits

View File

@ -38,10 +38,15 @@ function appendImageUploadForm() {
</div> </div>
</div> </div>
`; `;
formRow.classList.add('ext-edit-field-row', 'js-ext-edit-field-row'); formRow.classList.add('ext-edit-field-row', 'fade', 'js-ext-edit-field-row');
formRow.innerHTML = newFormHTML; formRow.innerHTML = newFormHTML;
formsetContainer.appendChild(formRow); formsetContainer.appendChild(formRow);
inputTotalForms.value = parseInt(inputTotalForms.value) + 1; inputTotalForms.value = parseInt(inputTotalForms.value) + 1;
setTimeout(function() {
// TODO: fix jump coming from grid gap on parent
formRow.classList.add('show');
}, 20);
} }
btnAddImage.addEventListener('click', function(ev) { btnAddImage.addEventListener('click', function(ev) {