提交 fcf6d557 编写于 作者: L lilinsen

修改样式

上级 846c96fc
......@@ -136,6 +136,7 @@ pre {
position: relative;
max-width: 100%;
overflow: auto;
margin
.code-wrapper{
width:100%;
overflow:auto;
......@@ -183,6 +184,7 @@ pre {
border-radius: 4px;
border: none;
padding: 20px;
margin: 0;
&>span {
position: absolute;
right: 5px;
......
......@@ -62,7 +62,7 @@ export default {
mounted(){
this.heightSlot = this.$slots.default[0].elm.offsetHeight;
if(this.heightSlot<400){
this.siteHeight = {height:this.heightSlot + 'px'};
this.siteHeight = {height:''};
}else{
this.siteHeight = {height:'300px'};
}
......@@ -74,6 +74,7 @@ export default {
position: relative;
background: #F2F4F5;
margin: 16px 0;
}
.hasPadding{
padding-bottom:30px;
......@@ -89,7 +90,7 @@ export default {
height: 30px;
width: 100%;
bottom: 0;
background: linear-gradient(rgba(255, 255, 255, 0.2),#fafafa);
background: linear-gradient(rgba(255, 255, 255, 0),#fafafa);
position: absolute;
z-index: 999 ;
text-align: center;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册