修改超出範圍的顯示。

deploy
a74589669 2019-09-21 23:08:06 +08:00
parent e2c31c714f
commit a5232b3ef0
2 changed files with 9 additions and 4 deletions

View File

@ -91,7 +91,6 @@
float: top;
border: #0b93d5 solid 1px;
border-radius: 1px;
}
</style>
@ -107,7 +106,7 @@
</ul>
</div>
</div>
<div id="container">
<div id="container" >
<div id="left">
<!--包裹层-->
<div class="navMenuBox" >
@ -118,7 +117,7 @@
</ul>
</div>
</div>
<div id="right">
<div id="right" style="background: wheat">
{% if index == true %}
{% for doc in docs %}
<div style="width: 660px; height: 160px; border-bottom: #0b58a2 solid 2px ;margin: 5px 5px 5px 0px; overflow:hidden;padding-bottom: 4px;">
@ -138,7 +137,9 @@
<p style="display: block;font-size: 16px;text-align: center;font-family: 黑体;">
<br>{{ title }}</br>
</p>
<div style="width: 670px;height: 800px; display: block;font-size: 14px;text-align: left;font-family: 黑体; overflow-y:scroll">
<div style="width: 670px;height: 800px;
display: block;font-size: 14px;text-align: left;
font-family: 黑体; overflow:scroll">
{{ content | raw}}
</div>
</div>

View File

@ -90,5 +90,9 @@ $(document).ready(
}
})
updateMenu();
console.log("注射样式");
// 注射样式
$("#right").style.overflow = "scroll";
}
);