去掉Markdown代码块的间隔色、编号等+issue

This commit is contained in:
caishi 2021-05-07 16:00:57 +08:00
parent e7eceb5b23
commit 016f7f1a7e
7 changed files with 15 additions and 4 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

@ -231,7 +231,7 @@ class Setting extends Component {
const { projectDetail } = this.props;
const { CategoryList, LanguageList, private_check ,loading , divertVisible , is_transfering, transfer } = this.state;
console.log(transfer);
let mirror = projectDetail && projectDetail.mirror;
return (
<div>
<DivertModal
@ -311,7 +311,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,