From c97e69f7c22cc93cca44d14ae3c499c30f7760b8 Mon Sep 17 00:00:00 2001 From: crupest Date: Thu, 3 Sep 2020 23:05:54 +0800 Subject: Remove animation of timeline entrance. --- .../ClientApp/src/app/views/timeline-common/Timeline.tsx | 1 - .../src/app/views/timeline-common/timeline-common.sass | 14 -------------- 2 files changed, 15 deletions(-) (limited to 'Timeline') diff --git a/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx b/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx index 1cb15d8e..fd051d45 100644 --- a/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx +++ b/Timeline/ClientApp/src/app/views/timeline-common/Timeline.tsx @@ -52,7 +52,6 @@ const Timeline: React.FC = (props) => { return (
-
{(() => { const length = posts.length; return posts.map((post, i) => { diff --git a/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass b/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass index 3bcd4a67..79df9249 100644 --- a/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass +++ b/Timeline/ClientApp/src/app/views/timeline-common/timeline-common.sass @@ -7,20 +7,6 @@ &-item display: flex -@keyframes timeline-enter-animation-mask-animation - to - height: 0 - -.timeline-enter-animation-mask - position: absolute - left: 0 - top: 0 - height: calc(100% + 300px) - width: 100% - background: linear-gradient(to top, #ffffff00 0, 200px, white 300px, white) - z-index: 100 - animation: timeline-enter-animation-mask-animation 5s 0.3s forwards // Give it 0.3s to load, which I think is reasonable - $timeline-line-width: 7px $timeline-line-node-radius: 18px $timeline-line-color: $primary -- cgit v1.2.3