diff --git a/pages/companies/popular.go b/pages/companies/popular.go index 5ae13aa4..0ae924bf 100644 --- a/pages/companies/popular.go +++ b/pages/companies/popular.go @@ -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 { diff --git a/pages/companies/popular.scarlet b/pages/companies/popular.scarlet index b40ccf1d..c29fafdc 100644 --- a/pages/companies/popular.scarlet +++ b/pages/companies/popular.scarlet @@ -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