From 19b73811201ce3d7476971d56c596202645ee736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A2=E6=80=9D?= <2897217417@qq.com> Date: Tue, 12 Oct 2021 15:14:49 +0800 Subject: [PATCH] issue --- src/forge/Branch/SelectOverlay.jsx | 2 ++ src/forge/Main/Diff.jsx | 2 +- src/forge/Main/Index.scss | 4 +++- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/forge/Branch/SelectOverlay.jsx b/src/forge/Branch/SelectOverlay.jsx index f043a8f52..e9c4aae4f 100644 --- a/src/forge/Branch/SelectOverlay.jsx +++ b/src/forge/Branch/SelectOverlay.jsx @@ -53,8 +53,10 @@ function SelectOverlay({ changeBranch , tagflag , branchList , projectsId , owne setIsSpin(true); if(e.key === "branch"){ getBranchs(projectsId,owner); + setNav(0); }else{ getTags(projectsId,owner); + setNav(1); } } diff --git a/src/forge/Main/Diff.jsx b/src/forge/Main/Diff.jsx index 045500615..6556023e3 100644 --- a/src/forge/Main/Diff.jsx +++ b/src/forge/Main/Diff.jsx @@ -91,7 +91,7 @@ export default (props) => { {commit && commit.message && } - {data.branch} + {data.branch} diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss index a177ccc79..a42bfec50 100644 --- a/src/forge/Main/Index.scss +++ b/src/forge/Main/Index.scss @@ -271,8 +271,10 @@ word-wrap:break-word; .markdown-body{ line-height: 10px; + font-size: 14px; & p { - margin: 0px 0px !important; + margin: 1px 0px 0px !important; + font-size: 14px !important; } & ol,ul{ padding-bottom: 3px;