底部贡献链接,样式修复

This commit is contained in:
RickCole21 2020-07-31 15:35:17 +08:00
parent a5eee72f26
commit 86e24ea7df
5 changed files with 39 additions and 9 deletions

View File

@ -1,6 +1,6 @@
---
title: 介绍
description: ddsaad
description: 介绍
type: 0
group: 💡 概念
menuName: 介绍

View File

@ -191,11 +191,11 @@ export const examples = [
component: makeSchemaRenderer(SubFormSchema)
},
{
label: 'JSon Schema表单',
path: '/examples/form/json-schema',
component: JSONSchemaForm
},
// {
// label: 'JSon Schema表单',
// path: '/examples/form/json-schema',
// component: JSONSchemaForm
// },
{
label: '富文本',

View File

@ -235,6 +235,19 @@ export default function (doc) {
</Link>
) : null}
</div>
<div className="Doc-footer-divider"></div>
<div className="Doc-footer-fixme">
<a
href={`https://github.com/baidu/amis/tree/master${location.pathname.replace(
ContextPath,
''
)}.md`}
target="_blank"
>
Github
</a>
</div>
</div>
</div>
{doc.toc && doc.toc.children && doc.toc.children.length > 1 ? (

View File

@ -187,7 +187,6 @@ export default function (schema) {
<div className="schema-wrapper">
{showCode !== false ? (
<DrawerContainer
disabled
classPrefix={ns}
size="lg"
onHide={this.close}

View File

@ -310,7 +310,7 @@ a {
> a {
// font-size: 16px;
font-weight: 700;
font-weight: 600;
font-size: 14px;
color: #666;
padding-left: 0;
@ -455,7 +455,22 @@ a {
&-footer {
margin: 60px 40px 80px;
padding-bottom: 25px;
border-bottom: 2px solid #e0e8ef;
&-divider {
border-top: 2px solid #e0e8ef;
margin: 25px 0;
}
&-fixme {
font-size: 16px;
color: #333;
text-align: right;
> a {
color: #108cee;
font-weight: 600;
}
}
.Doc-navLinks {
display: flex;
@ -562,6 +577,9 @@ a {
.Doc-navLinks-title {
color: #fff;
}
&-fixme {
color: #fff;
}
}
.Backtop {