Improved distance display

This commit is contained in:
Eduard Urbach 2018-04-08 09:41:40 +02:00
parent 961ceb702c
commit 09142a7a6b
2 changed files with 4 additions and 1 deletions

View File

@ -32,7 +32,7 @@ component CompanyPage(company *arn.Company, studioAnime, producedAnime, licensed
each closeCompany in closeCompanies
li.mountable(data-mountable-type="close-company")
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
//- h3 Synonyms

View File

@ -11,6 +11,9 @@
.company-sidebar
sidebar
.company-distance
opacity 0.75
> 1250px
.company-page
horizontal