Updated editor styles and template for product card

refs https://github.com/TryGhost/Team/issues/1209
This commit is contained in:
djordje vlaisavljevic 2021-12-08 19:33:49 +01:00
parent 049fe97e7e
commit e9c2942de5
2 changed files with 7 additions and 4 deletions

View File

@ -1787,16 +1787,19 @@ button.emoji-picker__category-button.active {
line-height: 1.4em;
}
.kg-product-card-description, .kg-product-card-description p {
.kg-product-card-description {
margin-top: 8px !important;
}
.kg-product-card-description p {
font-size: 1.6rem !important;
line-height: 1.6em;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Droid Sans,Helvetica Neue,sans-serif !important;
color: #656E7A;
margin-top: 8px !important;
}
.kg-product-card-description ::after {
font-size: 1.4rem !important;
font-size: 1.6rem !important;
line-height: 1.6em;
font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Droid Sans,Helvetica Neue,sans-serif !important;
}

View File

@ -222,7 +222,7 @@
</div>
{{/if}}
</div>
<p class="kg-product-card-description">{{{@payload.productDescription}}}</p>
<div class="kg-product-card-description">{{{@payload.productDescription}}}</div>
{{#if @payload.productButtonEnabled}}
<a href="javascript:void(0)" class="gh-btn gh-btn-accent kg-product-card-button {{if this.isButtonIncomplete "o-50"}}" disabled={{not @payload.productButton}}>
<span>