id to class style
This commit is contained in:
parent
82778b91ca
commit
6193817cb8
2 changed files with 4 additions and 3 deletions
|
|
@ -297,14 +297,14 @@
|
|||
border-bottom-right-radius: 10px;
|
||||
}
|
||||
|
||||
#premium-price-display-area {
|
||||
.premium-price-display-area {
|
||||
margin-left: 0;
|
||||
margin-right: auto;
|
||||
font-size: 1em;
|
||||
text-align: start;
|
||||
}
|
||||
|
||||
#premium-price-display-area > * {
|
||||
.premium-price-display-area > * {
|
||||
margin-top: 0;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@ class PriceDisplay {
|
|||
|
||||
render() {
|
||||
const container = document.createElement('div');
|
||||
container.id = 'premium-price-display-area';
|
||||
container.id = this.id;
|
||||
container.classList = 'premium-price-display-area';
|
||||
|
||||
const offerParagraph = document.createElement('p');
|
||||
offerParagraph.id = 'offer-price-paragraph';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue