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:
@@ -1,4 +1,10 @@
|
||||
.timeline
|
||||
|
||||
// Shown briefly while the timeline is loading.
|
||||
&.placeholder
|
||||
color: $color-text-dark-hint
|
||||
height: 75vh // Timelines are usually long, so scale the placeholder to almost viewport height.
|
||||
|
||||
.group
|
||||
opacity: 0
|
||||
animation: fade-in 500ms forwards
|
||||
|
Reference in New Issue
Block a user