From bd0fcda510f76520637cae989bfb820d2313ea73 Mon Sep 17 00:00:00 2001 From: caishi <1149225589@qq.com> Date: Mon, 27 Feb 2023 17:51:32 +0800 Subject: [PATCH] update issue --- src/forge/Issues/Component/datas.jsx | 4 ++-- src/forge/Issues/Pages/list.jsx | 17 ++++++++++++----- src/forge/Issues/Pages/new.jsx | 1 - src/forge/Issues/Pages/sign.jsx | 8 ++++++-- src/forge/Issues/index.scss | 19 +++++++++++-------- src/forge/Main/Detail.js | 1 + 6 files changed, 32 insertions(+), 18 deletions(-) diff --git a/src/forge/Issues/Component/datas.jsx b/src/forge/Issues/Component/datas.jsx index 2d7e2302d..65390292b 100644 --- a/src/forge/Issues/Component/datas.jsx +++ b/src/forge/Issues/Component/datas.jsx @@ -35,12 +35,12 @@ function Datas({checkbox ,item , projectsId,owner}){
- {i.name} + {i.name}
{i.description}
diff --git a/src/forge/Issues/index.scss b/src/forge/Issues/index.scss index a968ac396..eb31c3b22 100644 --- a/src/forge/Issues/index.scss +++ b/src/forge/Issues/index.scss @@ -218,16 +218,17 @@ display: block; overflow: hidden; text-overflow: ellipsis; - max-width: 600px; + max-width: 519px; white-space: nowrap; } .tagscolor{ padding:0px 6px; - color: #fff; border-radius: 3px; height: 20px; - line-height: 20px; - max-width: 200px; + line-height: 18px; + max-width: 60px; + border:1px solid ; + cursor: default; } } .infos{ @@ -390,15 +391,17 @@ padding:10px 20px; &>p{ flex:1; - text-align: center; - display: flex; - align-items: center; - justify-content: flex-start; color: 40424a; &:first-child{ flex:1.2; + display: flex; + align-items: center; + justify-content: flex-start; } &:last-child{ + display: flex; + align-items: center; + justify-content: flex-start; justify-content: flex-end; } .square{ diff --git a/src/forge/Main/Detail.js b/src/forge/Main/Detail.js index 13f8d2a6b..ee6a8b78d 100644 --- a/src/forge/Main/Detail.js +++ b/src/forge/Main/Detail.js @@ -247,6 +247,7 @@ class Detail extends Component { let currentIssue = pathname.indexOf(`/${owner}/${projectsId}/issues`) === -1; if (currentIssue) { cookie.save('states', undefined, { expires: 0, path: `/` }); + cookie.save('issuestates', undefined, { expires: 0, path: `/` }); } }