UI Timeline: scale the placeholder to almost fit the screen.

So the timeline has some initial height (75% of viewport height), and
once the content shows up the page doesn't jump much.
This commit is contained in:
2019-04-01 14:28:04 +02:00
parent 3906bab2ac
commit c31ef97c9e
2 changed files with 10 additions and 3 deletions

View File

@@ -80,9 +80,10 @@ mixin timeline(projectid, sortdirection)
data-project-id=projectid,
data-sort-dir=sortdirection,
)
// TODO: Make nicer reuseable placeholder
.h3.text-center.text-secondary.p-5.border-bottom
i.pi-spin.spin
.d-flex.w-100.h-100
//- TODO: Make nicer reuseable placeholder
.h3.text-muted.m-auto
i.pi-spin.spin
//- Category listing (Learn, Libraries, etc).