This commit is contained in:
caishi 2021-05-07 16:00:57 +08:00
parent 4d5430c3ed
commit 4c48b6c77a
7 changed files with 16 additions and 3 deletions

File diff suppressed because one or more lines are too long

View File

@ -6703,6 +6703,9 @@ ul.count_ul li:not(:last-child):after {
input.ant-input-lg::placeholder{
font-size: 14px !important;
}
p{
margin-bottom: 0px!important;
}
.toprightNum{
position: absolute;
right: 0px;

View File

@ -168,6 +168,7 @@ form .ant-cascader-picker, form .ant-select {
}
.linesContent > p{
flex:1;
word-break: break-all;
}
.linesContent .lines{
display: flex;

View File

@ -187,8 +187,10 @@ class Setting extends Component {
render() {
const { getFieldDecorator } = this.props.form;
const { projectDetail } = this.props;
const { CategoryList, LanguageList, private_check ,loading } = this.state;
let mirror = projectDetail && projectDetail.mirror;
return (
<div>
<Spin spinning={loading}>
@ -261,7 +263,7 @@ class Setting extends Component {
<Checkbox
key={key}
value={item.index}
disabled={item.index === "home" || item.index === "activity" || item.index === "code"}
disabled={item.index === "home" || item.index === "activity" || item.index === "code" || (mirror && item.index === "pulls")}
>{item.name}</Checkbox>
)
})

View File

@ -102,7 +102,7 @@ export default ((props) => {
group ?
<div>
<AlignCenterBetween>
<span className="color-grey-3">{group.nickname}</span>
<span className="color-grey-3 task-hide">{group.nickname}</span>
{group.is_member && !group.is_admin ?
<Popconfirm
title="确认离开团队吗?"

View File

@ -277,6 +277,7 @@
display: flex;
align-items: flex-start;
.g-sub-left{
width: 0;
&>div{
border:1px solid #eee;
}

View File

@ -47,6 +47,12 @@
.markdown-body img{
cursor: pointer;
}
.markdown-body pre ol.linenums,.markdown-body pre ul.linenums{
padding-left: 0px;
}
.markdown-body pre ol>li, .markdown-body pre ol>li{
list-style-type: none;
}
ol,
ul,