mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 10:59:42 +08:00
解决 docs 样式问题
This commit is contained in:
parent
26c790b099
commit
eeddef6a1f
@ -526,11 +526,6 @@ function isActive(link, location) {
|
||||
}
|
||||
|
||||
const themes = [
|
||||
{
|
||||
label: 'Dark',
|
||||
ns: 'dark-',
|
||||
value: 'dark'
|
||||
},
|
||||
{
|
||||
label: '默认主题',
|
||||
ns: 'a-',
|
||||
@ -541,6 +536,11 @@ const themes = [
|
||||
label: '百度云舍',
|
||||
ns: 'cxd-',
|
||||
value: 'cxd'
|
||||
},
|
||||
{
|
||||
label: 'Dark',
|
||||
ns: 'dark-',
|
||||
value: 'dark'
|
||||
}
|
||||
];
|
||||
|
||||
|
@ -3,17 +3,20 @@
|
||||
@import '../scss/variables';
|
||||
|
||||
|
||||
.page-play, .page-edit {
|
||||
.page-play,
|
||||
.page-edit {
|
||||
&:before {
|
||||
display: table;
|
||||
content: " ";
|
||||
}
|
||||
|
||||
&:after {
|
||||
clear: both;
|
||||
display: block;
|
||||
content: "";
|
||||
height: 0;
|
||||
}
|
||||
|
||||
.app-content {
|
||||
position: absolute;
|
||||
top: 50px;
|
||||
@ -22,6 +25,7 @@
|
||||
left: 0;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.app-content-body {
|
||||
height: 100%;
|
||||
}
|
||||
@ -45,12 +49,12 @@
|
||||
.doc-shcema-preview-popover {
|
||||
box-shadow: none;
|
||||
margin-top: -1px;
|
||||
padding: 0 45px;
|
||||
padding: 0 45px !important;
|
||||
left: 0 !important;
|
||||
width: 100%;
|
||||
max-width: 980px;
|
||||
z-index: 1;
|
||||
background: transparent;
|
||||
background: transparent !important;
|
||||
border: none;
|
||||
|
||||
.doc-schema-preview {
|
||||
|
Loading…
Reference in New Issue
Block a user