class-ify some id-fied styles

This commit is contained in:
counterweight 2025-04-09 18:17:40 +02:00
parent 971282f01f
commit 1e02957bdc
Signed by: counterweight
GPG key ID: 883EDBAA726BD96C
2 changed files with 4 additions and 5 deletions

View file

@ -184,10 +184,9 @@ class CreateOfferModal {
this.publishOfferButton.render();
const closeButtonArea = document.createElement('div');
closeButtonArea.id = 'close-offer-controls-area';
closeButtonArea.className = 'close-offer-controls-area';
const closeButton = document.createElement('button');
closeButton.id = 'close-offer';
closeButton.className = 'button-secondary button-medium';
closeButton.className = 'close-offer button-secondary button-medium';
closeButton.textContent = 'Volver';
closeButtonArea.appendChild(closeButton);