}
diff --git a/src/forge/Main/Diff.jsx b/src/forge/Main/Diff.jsx
index a50c16c7..f5220b09 100644
--- a/src/forge/Main/Diff.jsx
+++ b/src/forge/Main/Diff.jsx
@@ -86,7 +86,7 @@ export default (props) => {
{commit && commit.message &&
-
+
}
{data.branch}
diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss
index f2f7cd2b..f87b82f9 100644
--- a/src/forge/Main/Index.scss
+++ b/src/forge/Main/Index.scss
@@ -252,7 +252,13 @@
border: 1px solid rgba(42, 97, 255, 0.23);
background-color: #FAFCFF;
.ellipsistxt{
- margin-top: 6px;
+ .markdown-body{
+ line-height: 8px;
+ & p {
+ margin: 0 0px !important;
+ }
+ }
+ margin-top: 2px;
// cursor: pointer;
#ptxt{
margin-bottom: 0px;
@@ -270,7 +276,7 @@
width: 0;
color: #666;
&.hidetxt{
- height: 18px;
+ height: 22px;
overflow: hidden;
position: relative;
padding-right:8px;
diff --git a/src/forge/css/index.scss b/src/forge/css/index.scss
index 12ebae46..a19619d7 100644
--- a/src/forge/css/index.scss
+++ b/src/forge/css/index.scss
@@ -104,7 +104,7 @@ ul,ol,dl{
white-space: normal;
&:hover{
text-decoration: underline;
- & p{
+ & .markdown-body{
color: #466AFF;
}
}
From 8bdd619dde53fd3e82f5722e975170d057eda5d6 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 09:56:09 +0800
Subject: [PATCH 14/19] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=B8=80?=
=?UTF-8?q?=E7=BA=A7=E9=A1=B5=E9=9D=A2=E6=8F=90=E4=BA=A4=E4=BF=A1=E6=81=AF?=
=?UTF-8?q?css=E6=A0=B7=E5=BC=8F=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/CoderDepot.jsx | 2 +-
src/forge/Main/Diff.jsx | 3 +++
src/forge/Main/Index.scss | 29 ++++++++++++++++++++++++-----
src/forge/Main/list.scss | 6 ++++++
4 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index fe7eba52..c86e31d9 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -197,7 +197,7 @@ function CoderDepot(props){
let ele = document.getElementById("ptxt");
if(ele){
let h = ele.offsetHeight;
- if( h > 33 ) setHideBtn(true);
+ if( h > 35 ) setHideBtn(true);
}
}
},[projectDetail,lastCommit])
diff --git a/src/forge/Main/Diff.jsx b/src/forge/Main/Diff.jsx
index f5220b09..04550061 100644
--- a/src/forge/Main/Diff.jsx
+++ b/src/forge/Main/Diff.jsx
@@ -18,6 +18,9 @@ const Infos = styled.div`
border: 1px solid rgba(42, 97, 255, 0.23);
border-radius: 3px 3px 0px 0px;
padding: 10px 20px 10px 16px;
+ & .markdown-body table{
+ background: #f1f8ff;
+ }
& .f-wrap-between{
align-items: center;
}
diff --git a/src/forge/Main/Index.scss b/src/forge/Main/Index.scss
index f87b82f9..a177ccc7 100644
--- a/src/forge/Main/Index.scss
+++ b/src/forge/Main/Index.scss
@@ -252,10 +252,10 @@
border: 1px solid rgba(42, 97, 255, 0.23);
background-color: #FAFCFF;
.ellipsistxt{
- .markdown-body{
- line-height: 8px;
- & p {
- margin: 0 0px !important;
+ &:hover .markdown-body{
+ color: #466AFF;
+ & a{
+ color: #466AFF;
}
}
margin-top: 2px;
@@ -269,6 +269,25 @@
white-space:-pre-wrap; /* Opera 4-6 */
white-space:-o-pre-wrap; /* Opera 7 */
word-wrap:break-word;
+ .markdown-body{
+ line-height: 10px;
+ & p {
+ margin: 0px 0px !important;
+ }
+ & ol,ul{
+ padding-bottom: 3px;
+ & li{
+ min-height: 18px;
+ }
+ }
+ & table{
+ line-height: 1;
+ background: #FAFCFF;
+ }
+ &:first-child {
+ margin-top: -1px !important;
+ }
+ }
}
margin-left: 13px;
line-height:18px;
@@ -276,7 +295,7 @@
width: 0;
color: #666;
&.hidetxt{
- height: 22px;
+ height: 24px;
overflow: hidden;
position: relative;
padding-right:8px;
diff --git a/src/forge/Main/list.scss b/src/forge/Main/list.scss
index 73b534de..83b4d5ee 100644
--- a/src/forge/Main/list.scss
+++ b/src/forge/Main/list.scss
@@ -735,6 +735,9 @@ a.color-grey-ccc:hover{
border-radius: 4px;
margin-left: 16px;
align-items: center;
+ & .markdown-body table{
+ background: #FAFCFF;
+ }
&:after,&:before{
content: "";
position: absolute;
@@ -760,6 +763,9 @@ a.color-grey-ccc:hover{
&:before{
border-right: 10px solid rgba(42, 97, 255, 0.58);
}
+ & .markdown-body table{
+ background: #EEF6FF;
+ }
}
.treecopy-cont{
padding: 4px 15px;
From bcbd915bd1d95fcbd66174a02618428bf88ee8e2 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 10:24:58 +0800
Subject: [PATCH 15/19] =?UTF-8?q?=E6=8F=90=E4=BA=A4=E8=AF=A6=E6=83=85Toolt?=
=?UTF-8?q?ip=E6=B8=B2=E6=9F=93=E5=87=BAfalse?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Merge/Files.jsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/forge/Merge/Files.jsx b/src/forge/Merge/Files.jsx
index 87260cdd..b4cf5b48 100644
--- a/src/forge/Merge/Files.jsx
+++ b/src/forge/Merge/Files.jsx
@@ -52,7 +52,7 @@ function Files({ data,history,owner,projectsId , parentsSha }){
{item.name}
-
0 && ":"}${item.addition>0?item.addition+"处添加":""}${item.addition>0 && item.deletion>0 ?"和":""}${item.deletion>0?item.deletion+"处删除":""}`}>
+ 0 ? ":":""}${item.addition>0?item.addition+"处添加":""}${item.addition>0 && item.deletion>0 ?"和":""}${item.deletion>0?item.deletion+"处删除":""}`}>
{item.addition >0 && +{item.addition}}
{item.deletion >0 && -{item.deletion}}
@@ -100,7 +100,7 @@ function Files({ data,history,owner,projectsId , parentsSha }){
-
0 && ":"} ${item.addition > 0 ? item.addition + "处添加" : ""}${item.addition > 0 && item.deletion > 0 ? "和" : ""}${item.deletion > 0 ? item.deletion + "处删除" : ""}`}>
+ 0 ? ":":""} ${item.addition > 0 ? item.addition + "处添加" : ""}${item.addition > 0 && item.deletion > 0 ? "和" : ""}${item.deletion > 0 ? item.deletion + "处删除" : ""}`}>
{item.addition+item.deletion}处
From 1c5b5a66d8d49744f05bc64da43e9ca4111fc5c9 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Tue, 12 Oct 2021 10:32:09 +0800
Subject: [PATCH 16/19] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C?=
=?UTF-8?q?=E7=BA=A7=E9=A1=B5=E9=9D=A2=E6=A0=87=E7=AD=BE=E9=A1=B5=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/css/edu-purge.css | 4 +++-
src/forge/Main/tag/Index.jsx | 8 ++++++--
src/forge/Main/tag/Index.scss | 6 ++++++
3 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css
index 60351333..a9692c92 100644
--- a/public/css/edu-purge.css
+++ b/public/css/edu-purge.css
@@ -1309,6 +1309,7 @@ span {
margin: 0;
padding: 0;
margin-bottom: 0px!important;
+ font-weight: 500;
}
table,
@@ -1362,7 +1363,8 @@ table {
a:link,
a:visited {
text-decoration: none;
- color: #05101a;
+ color: #333333;
+ font-weight: 500;
}
ol,
diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx
index cf89cd7b..20e74451 100644
--- a/src/forge/Main/tag/Index.jsx
+++ b/src/forge/Main/tag/Index.jsx
@@ -35,7 +35,11 @@ function Tags(props) {
key:1,
ellipsis:true,
render:(txt,item)=>{
- return {item.name}
+ return(
+
+ {item.name}
+
+ )
}
},
{
@@ -46,7 +50,7 @@ function Tags(props) {
render:(txt,item)=>{
return (
- {item.commit && item.commit.name}
+ {item.tagger && item.tagger.name}
创建于{txt}
)
diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss
index 5d72ab29..80a3c828 100644
--- a/src/forge/Main/tag/Index.scss
+++ b/src/forge/Main/tag/Index.scss
@@ -39,4 +39,10 @@
display: flex;
align-items: center;
justify-content: center;
+}
+.tagBranch{
+ width: 200px;
+ margin-left: -67px;
+ text-overflow: ellipsis;
+ overflow: hidden;
}
\ No newline at end of file
From 63a74cc0764a7ab45ad11882d844b8ccdf4c031a Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Tue, 12 Oct 2021 10:45:54 +0800
Subject: [PATCH 17/19] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=BA=93=E4=BA=8C?=
=?UTF-8?q?=E7=BA=A7=E9=A1=B5=E9=9D=A2=E6=A0=87=E7=AD=BE=E9=A1=B5=E4=BC=98?=
=?UTF-8?q?=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
public/css/edu-purge.css | 4 +---
src/forge/Main/tag/Index.scss | 2 ++
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/public/css/edu-purge.css b/public/css/edu-purge.css
index a9692c92..60351333 100644
--- a/public/css/edu-purge.css
+++ b/public/css/edu-purge.css
@@ -1309,7 +1309,6 @@ span {
margin: 0;
padding: 0;
margin-bottom: 0px!important;
- font-weight: 500;
}
table,
@@ -1363,8 +1362,7 @@ table {
a:link,
a:visited {
text-decoration: none;
- color: #333333;
- font-weight: 500;
+ color: #05101a;
}
ol,
diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss
index 80a3c828..89f473f5 100644
--- a/src/forge/Main/tag/Index.scss
+++ b/src/forge/Main/tag/Index.scss
@@ -23,6 +23,8 @@
line-height: 69px;
div{
padding-left: 69px;
+ font-weight: 500;
+ color:#333333;
}
}
&:last-child{
From fd58c70c545de128bec0e677f652f657d28358c6 Mon Sep 17 00:00:00 2001
From: hucong <1422588487@qq.com>
Date: Tue, 12 Oct 2021 11:03:03 +0800
Subject: [PATCH 18/19] =?UTF-8?q?issue=E6=A0=87=E7=AD=BE=E9=A1=B5=E6=A0=B7?=
=?UTF-8?q?=E5=BC=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/tag/Index.jsx | 5 +++--
src/forge/Main/tag/Index.scss | 8 +++++++-
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx
index 20e74451..4a0ce00a 100644
--- a/src/forge/Main/tag/Index.jsx
+++ b/src/forge/Main/tag/Index.jsx
@@ -34,10 +34,11 @@ function Tags(props) {
dataIndex:"name",
key:1,
ellipsis:true,
+
render:(txt,item)=>{
return(
- {item.name}
+ {item.name}
)
}
@@ -49,7 +50,7 @@ function Tags(props) {
ellipsis:true,
render:(txt,item)=>{
return (
-
+
{item.tagger && item.tagger.name}
创建于{txt}
diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss
index 89f473f5..bff4c97b 100644
--- a/src/forge/Main/tag/Index.scss
+++ b/src/forge/Main/tag/Index.scss
@@ -21,10 +21,10 @@
padding:0px;
height: 69px;
line-height: 69px;
+ color:#333333;
div{
padding-left: 69px;
font-weight: 500;
- color:#333333;
}
}
&:last-child{
@@ -47,4 +47,10 @@
margin-left: -67px;
text-overflow: ellipsis;
overflow: hidden;
+ .tagClass{
+ color:#333333;
+ }
+}
+.tagModel{
+ font-weight: 400;
}
\ No newline at end of file
From c282a1e034d63d8a4b5b5033b37acc70593d67d0 Mon Sep 17 00:00:00 2001
From: caishi
Date: Tue, 12 Oct 2021 11:57:27 +0800
Subject: [PATCH 19/19] =?UTF-8?q?=E6=A0=87=E7=AD=BE=E5=88=97=E8=A1=A8?=
=?UTF-8?q?=E5=A4=B4=E5=83=8F?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/forge/Main/tag/Index.jsx | 29 ++++++++++++++++++++++-------
src/forge/Main/tag/Index.scss | 12 +++++++++---
2 files changed, 31 insertions(+), 10 deletions(-)
diff --git a/src/forge/Main/tag/Index.jsx b/src/forge/Main/tag/Index.jsx
index 458de69a..6a111b45 100644
--- a/src/forge/Main/tag/Index.jsx
+++ b/src/forge/Main/tag/Index.jsx
@@ -4,6 +4,7 @@ import { Table , Tooltip , Spin } from 'antd';
import axios from 'axios';
import { Link } from 'react-router-dom';
import { truncateCommitId } from '../../common/util';
+import { getImageUrl } from 'educoder';
import Nonedata from '../../Nodata';
import './Index.scss';
import Tree from '../img/tree.png'
@@ -34,12 +35,12 @@ function Tags(props) {
dataIndex:"name",
key:1,
ellipsis:true,
-
+ width:"200px",
render:(txt,item)=>{
return(
- {item.name}
-
+ {item.name}
+
)
}
},
@@ -51,7 +52,21 @@ function Tags(props) {
render:(txt,item)=>{
return (
- {item.tagger && item.tagger.name}
+ {
+ item.tagger &&
+
+ {
+ item.tagger.id ?
+
+
+
+ :
+
+
+
+ }
+
+ }
创建于{txt}
)
@@ -86,17 +101,17 @@ function Tags(props) {
key:5,
ellipsis:true,
align:"center",
- width:"181px",
+ width:"204px",
render:(txt,item)=>{
return (
-
+
)
}
}
diff --git a/src/forge/Main/tag/Index.scss b/src/forge/Main/tag/Index.scss
index bff4c97b..70e83a83 100644
--- a/src/forge/Main/tag/Index.scss
+++ b/src/forge/Main/tag/Index.scss
@@ -13,6 +13,9 @@
}
}
tbody{
+ .btn-83{
+ margin:0px 8px;
+ }
tr{
&:hover td{
background-color: #fff!important;
@@ -23,7 +26,6 @@
line-height: 69px;
color:#333333;
div{
- padding-left: 69px;
font-weight: 500;
}
}
@@ -43,8 +45,7 @@
justify-content: center;
}
.tagBranch{
- width: 200px;
- margin-left: -67px;
+ padding-right: 15px;
text-overflow: ellipsis;
overflow: hidden;
.tagClass{
@@ -53,4 +54,9 @@
}
.tagModel{
font-weight: 400;
+ .tagModelImg img{
+ width: 25px;
+ height: 25px;
+ border-radius: 50%;
+ }
}
\ No newline at end of file