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

@ -243,7 +243,7 @@
margin-top: 0; margin-top: 0;
} }
#close-offer-controls-area { .close-offer-controls-area {
display: flex; display: flex;
justify-content: end; justify-content: end;
} }
@ -386,7 +386,7 @@
width: 33%; width: 33%;
} }
#close-offer { .close-offer {
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
} }

View file

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