去掉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{ input.ant-input-lg::placeholder{
font-size: 14px !important; font-size: 14px !important;
} }
p{
margin-bottom: 0px!important;
}
.toprightNum{ .toprightNum{
position: absolute; position: absolute;
right: 0px; right: 0px;

View File

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

View File

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

View File

@ -102,7 +102,7 @@ export default ((props) => {
group ? group ?
<div> <div>
<AlignCenterBetween> <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 ? {group.is_member && !group.is_admin ?
<Popconfirm <Popconfirm
title="确认离开团队吗?" title="确认离开团队吗?"

View File

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

View File

@ -47,6 +47,12 @@
.markdown-body img{ .markdown-body img{
cursor: pointer; 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, ol,
ul, ul,