1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-10-21 02:42:26 +00:00

Add side nav toggle function for small screen

This commit is contained in:
Daniel Pan
2016-04-28 16:46:46 +08:00
parent 34e5b94ab1
commit 76f479d3c9
4 changed files with 49 additions and 4 deletions

View File

@@ -657,6 +657,20 @@ textarea:-moz-placeholder {/* for FF */
border-right:1px solid #eee;
}
}
@media (max-width: 767px) {
.side-tabnav {
background: #f8f8f8;
width:300px;
position:fixed;
top:0;
bottom:0;
z-index:1;
padding:20px;
overflow-x:hidden;
overflow-y:auto;
border-right:1px solid #eee;
}
}
.side-tabnav .hd {
margin-bottom:0.5em;
}