Skip to content

Commit

Permalink
📱 响应式布局, 适应手机端.
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaojun1998 committed May 12, 2019
1 parent 96aaf61 commit fdb321f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions css/zadmin.css
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,13 @@
.layui-layout-admin.admin-nav-mini .layui-side .layui-nav .layui-nav-itemed.admin-nav-hover>.layui-nav-child {
display: block
}

/* 小屏模式下隐藏面包屑, 只保留面包屑的最后一级的内容. */
.layui-layout-admin .layui-nav .layui-breadcrumb span,
.layui-layout-admin .layui-nav .layui-breadcrumb a:not(:last-child) {
display: none;
}

}


Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@
<!-- 底部固定区域 -->
copyright © 2019 Z-Admin all rights reserved.
</div>

<div class="site-mobile-shade"></div>
</div>
<script src="layui/layui.js"></script>
<script src="js/jquery.js"></script>
Expand Down

0 comments on commit fdb321f

Please sign in to comment.