From 6836e00de14747f38a1509af5d972a5a804d3aa2 Mon Sep 17 00:00:00 2001 From: Fedor Katurov Date: Wed, 23 Oct 2019 18:00:05 +0700 Subject: [PATCH] s,oother menu appearance --- src/components/flow/Cell/index.tsx | 2 +- src/components/flow/Cell/styles.scss | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/flow/Cell/index.tsx b/src/components/flow/Cell/index.tsx index a63fd78a..9441171b 100644 --- a/src/components/flow/Cell/index.tsx +++ b/src/components/flow/Cell/index.tsx @@ -1,4 +1,4 @@ -import React, { FC, useState, useCallback } from 'react'; +import React, { FC, useState, useCallback, useEffect } from 'react'; import { INode } from '~/redux/types'; import { getURL } from '~/utils/dom'; import classNames from 'classnames'; diff --git a/src/components/flow/Cell/styles.scss b/src/components/flow/Cell/styles.scss index bda847f0..479774a4 100644 --- a/src/components/flow/Cell/styles.scss +++ b/src/components/flow/Cell/styles.scss @@ -251,6 +251,8 @@ justify-content: center; display: flex; flex-direction: column; + transition: opacity 0.5s; + will-change: opacity; & > * { margin-top: $gap;