Skip to content

Commit

Permalink
Merge branch 'master' of github.com:star7th/showdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Sep 10, 2016
2 parents 4199232 + 49f2d38 commit 3275a17
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion Application/Home/View/Catalog/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
.cat-list{
max-height: 250px;
}
.cat-content{
max-height: 195px;
overflow-y: auto;
}
</style>
<div id="edit-cat" class="modal hide fade">
<!-- 编辑框 -->
Expand Down Expand Up @@ -50,7 +54,7 @@ <h4>{$Think.Lang.new_or_edit_catalog}</h4>
<div class="modal-header">
<h4>{$Think.Lang.catalog_list}&nbsp;<small>({$Think.Lang.click_to_edit})</small></h4>
</div>
<div id="show-cat">
<div id="show-cat" class="cat-content">

<br>
<br>
Expand Down
3 changes: 1 addition & 2 deletions Application/Home/View/Page/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@ <h3 style="text-align: center;">{$page.page_title}</h3>

<include file="Common/footer" />
<script src="__PUBLIC__/highlight/highlight.min.js"></script>
<script src="__PUBLIC__/js/page/index.js"></script>
s
<script src="__PUBLIC__/js/page/index.js"></script>
6 changes: 3 additions & 3 deletions Public/js/item/show.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ $(function(){


//根据屏幕宽度进行响应(应对移动设备的访问)
if( isMobile()){
if( isMobile()|| $(window).width() < 1000){
AdaptToMobile();
}

Expand All @@ -38,7 +38,7 @@ $(function(){
AdaptToMobile();
}

else if($(window).width() < 600){
else if($(window).width() < 1000){
AdaptToMobile();
}else{
window.location.reload();
Expand Down Expand Up @@ -175,7 +175,7 @@ function iFrameHeight() { 
ifr.style.height = height + 'px';


if(!isMobile()){
if(!isMobile()&& $(window).width() > 1000){
//调节左侧栏背景的最小高度
if(height > document.body.clientHeight){
$(".doc-left").css("min-height",(height+60) + 'px');
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
"keywords": ["showdoc","documents","Api"],
"homepage": "https://github.com/star7th/showdoc",
"version":"v1.0.3",
"version":"v1.0.4",
"license": "Apache-2.0",
"authors": [
{
Expand Down

0 comments on commit 3275a17

Please sign in to comment.