Improved distance display
This commit is contained in:
parent
961ceb702c
commit
09142a7a6b
@ -32,7 +32,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
|
|||||||
each closeCompany in closeCompanies
|
each closeCompany in closeCompanies
|
||||||
li.mountable(data-mountable-type="close-company")
|
li.mountable(data-mountable-type="close-company")
|
||||||
a(href=closeCompany.Link())= closeCompany.Name.English
|
a(href=closeCompany.Link())= closeCompany.Name.English
|
||||||
span= fmt.Sprintf(" (%.0f m)", distances[closeCompany.ID] * 1000)
|
span.company-distance= fmt.Sprintf(" - %.0f m", distances[closeCompany.ID] * 1000)
|
||||||
|
|
||||||
//- if len(company.Name.Synonyms) > 0
|
//- if len(company.Name.Synonyms) > 0
|
||||||
//- h3 Synonyms
|
//- h3 Synonyms
|
||||||
|
@ -11,6 +11,9 @@
|
|||||||
.company-sidebar
|
.company-sidebar
|
||||||
sidebar
|
sidebar
|
||||||
|
|
||||||
|
.company-distance
|
||||||
|
opacity 0.75
|
||||||
|
|
||||||
> 1250px
|
> 1250px
|
||||||
.company-page
|
.company-page
|
||||||
horizontal
|
horizontal
|
||||||
|
Loading…
Reference in New Issue
Block a user