class-ify some id-fied styles
This commit is contained in:
parent
971282f01f
commit
1e02957bdc
2 changed files with 4 additions and 5 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue