From f6b59e0a3a730b8232253ed092e14b85d6b8209d Mon Sep 17 00:00:00 2001 From: hucong <1422588487@qq.com> Date: Thu, 14 Oct 2021 10:20:36 +0800 Subject: [PATCH] save --- src/forge/Main/tag/Index.jsx | 21 +++++++++++---------- src/forge/Main/tag/Index.scss | 4 ---- 2 files changed, 11 insertions(+), 14 deletions(-) diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx index 4eeb4efe..a3cf69cc 100644 --- a/src/forge/Main/tag/Index.jsx +++ b/src/forge/Main/tag/Index.jsx @@ -119,18 +119,19 @@ function Tags(props) { return(
- { - source && source.length > 0 ? +
- -
-
+ { + source && source.length > 0 && +
+ } + { + source && source.length === 0 && + }
- : - - } +
) } diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss index 70e83a83..6adba91e 100644 --- a/src/forge/Main/tag/Index.scss +++ b/src/forge/Main/tag/Index.scss @@ -39,10 +39,6 @@ } .tagSpin{ min-height: 300px; - text-align: center; - display: flex; - align-items: center; - justify-content: center; } .tagBranch{ padding-right: 15px;