Added markdown render
This commit is contained in:
parent
e30cdd7df4
commit
b3f18437db
@ -17,7 +17,7 @@ component PopularCompaniesScrollable(companies []*arn.Company, companyToAnime ma
|
|||||||
Icon("building")
|
Icon("building")
|
||||||
span.popular-company-name= company.Name.English
|
span.popular-company-name= company.Name.English
|
||||||
|
|
||||||
p.popular-company-body.popular-company-description(href=company.Link())= company.Description
|
.popular-company-body.popular-company-description!= markdown.Render(company.Description)
|
||||||
|
|
||||||
.popular-company-footer
|
.popular-company-footer
|
||||||
.company-anime
|
.company-anime
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
const popular-company-height = 250px
|
const popular-company-height = 246px
|
||||||
|
|
||||||
.popular-companies
|
.popular-companies
|
||||||
horizontal-wrap
|
horizontal-wrap
|
||||||
@ -26,6 +26,10 @@ const popular-company-height = 250px
|
|||||||
|
|
||||||
.popular-company-description
|
.popular-company-description
|
||||||
clip-long-text
|
clip-long-text
|
||||||
|
margin-top 0.4rem
|
||||||
|
|
||||||
|
p
|
||||||
|
display inline
|
||||||
|
|
||||||
.popular-company-icon
|
.popular-company-icon
|
||||||
//
|
//
|
||||||
|
Loading…
Reference in New Issue
Block a user