Cleaned up layout
This commit is contained in:
parent
89f745ee2e
commit
340e6969e6
@ -8,7 +8,7 @@ import (
|
|||||||
"github.com/animenotifier/notify.moe/utils/infinitescroll"
|
"github.com/animenotifier/notify.moe/utils/infinitescroll"
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxPopularCompanies = 25
|
const maxPopularCompanies = 10
|
||||||
|
|
||||||
// Popular renders the best companies.
|
// Popular renders the best companies.
|
||||||
func Popular(ctx *aero.Context) string {
|
func Popular(ctx *aero.Context) string {
|
||||||
|
@ -15,14 +15,12 @@ const popular-company-height = 250px
|
|||||||
ui-element
|
ui-element
|
||||||
|
|
||||||
.popular-company-header
|
.popular-company-header
|
||||||
flex 0.2
|
margin-bottom 0.5rem
|
||||||
|
|
||||||
.popular-company-body
|
.popular-company-body
|
||||||
flex 0.6
|
flex 1.0
|
||||||
|
|
||||||
.popular-company-footer
|
.popular-company-footer
|
||||||
flex 0.2
|
|
||||||
|
|
||||||
.company-anime
|
.company-anime
|
||||||
flex-flow row
|
flex-flow row
|
||||||
overflow hidden
|
overflow hidden
|
||||||
|
Loading…
Reference in New Issue
Block a user