Cleaned up layout

This commit is contained in:
Eduard Urbach 2018-03-23 19:24:05 +01:00
parent 89f745ee2e
commit 340e6969e6
2 changed files with 3 additions and 5 deletions

View File

@ -8,7 +8,7 @@ import (
"github.com/animenotifier/notify.moe/utils/infinitescroll"
)
const maxPopularCompanies = 25
const maxPopularCompanies = 10
// Popular renders the best companies.
func Popular(ctx *aero.Context) string {

View File

@ -15,14 +15,12 @@ const popular-company-height = 250px
ui-element
.popular-company-header
flex 0.2
margin-bottom 0.5rem
.popular-company-body
flex 0.6
flex 1.0
.popular-company-footer
flex 0.2
.company-anime
flex-flow row
overflow hidden