From a6390e5eafb097552c0f28f9044e84b60c72e4dc Mon Sep 17 00:00:00 2001 From: Eduard Urbach Date: Wed, 14 Mar 2018 01:29:45 +0100 Subject: [PATCH] Switched to CSS grid rendering for anime lists --- pages/animelist/animelist.scarlet | 11 ++++++----- pages/animelist/status.pixy | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/pages/animelist/animelist.scarlet b/pages/animelist/animelist.scarlet index 8f27b6c2..4be323d7 100644 --- a/pages/animelist/animelist.scarlet +++ b/pages/animelist/animelist.scarlet @@ -5,13 +5,17 @@ margin-bottom 1rem .anime-list - vertical + display grid + grid-template-rows 40px + grid-template-columns 100% .anime-list-item table-row horizontal align-items center padding-right 1rem + width 100% + height 40px .anime-list-item-image-container padding 0 @@ -116,7 +120,4 @@ < 1100px .anime-list-item-rating - display none !important - -.fill-screen - min-height calc(100vh - content-padding * 2 - 1rem - 43px - 23px) \ No newline at end of file + display none !important \ No newline at end of file diff --git a/pages/animelist/status.pixy b/pages/animelist/status.pixy index ff66a1c7..0b5a591e 100644 --- a/pages/animelist/status.pixy +++ b/pages/animelist/status.pixy @@ -7,6 +7,6 @@ component AnimeListFilteredByStatus(animeList *arn.AnimeList, viewUser *arn.User if len(animeList.Items) == 0 p.no-data.mountable= viewUser.Nick + " hasn't added any anime to this list yet." else - .anime-list-container.fill-screen + .anime-list-container //- h3.status-name= arn.ListItemStatusName(status) AnimeList(animeList, viewUser, user) \ No newline at end of file