Commit bb2282ba authored by agping's avatar agping

放大图片图片修改

parent 88820f19
...@@ -33,7 +33,8 @@ ...@@ -33,7 +33,8 @@
/*border-radius: 15px;*/ /*border-radius: 15px;*/
} }
#preview img{ #preview img{
width: 388px; width: 350px;
/*height: 550px;*/
} }
</style> </style>
<div id="page-content-wrapper"> <div id="page-content-wrapper">
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
backgroundColor:"white", backgroundColor:"white",
border:"1px solid #cccccc" border:"1px solid #cccccc"
}); });
if (show_y + 230 > h + scroll_y) { if (show_y + 430 > h + scroll_y) {
$("#preview").css("bottom", h - show_y - $(this).height() + "px").css("top", "auto"); $("#preview").css("bottom", h - show_y - $(this).height() + "px").css("top", "auto");
} else { } else {
$("#preview").css("top", show_y + "px").css("bottom", "auto"); $("#preview").css("top", show_y + "px").css("bottom", "auto");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment