1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-05-13 10:25:46 +00:00

Merge pull request from haiwen/nav-fix

[sysadmin] fixed 'nav jumps in IE10' problem
This commit is contained in:
llj 2017-11-14 16:12:25 +08:00 committed by GitHub
commit 9ac06c5365
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -864,17 +864,6 @@ textarea:-moz-placeholder {/* for FF */
margin-bottom:1em;
}
/* Hide for mobile, show later */
@media (min-width: 768px) {
.side-nav {
position:fixed;
top:52px;
bottom:0;
z-index:1;
padding:20px;
overflow:hidden;
border-right:1px solid #eee;
}
}
@media (max-width: 767px) {
.side-nav {
background: #f8f8f8;
@ -890,6 +879,17 @@ textarea:-moz-placeholder {/* for FF */
box-shadow:0 0 4px #ccc;
}
}
@media (min-width: 768px) {
.side-nav {
position:fixed;
top:52px;
bottom:0;
z-index:1;
padding:20px;
overflow:hidden;
border-right:1px solid #eee;
}
}
.side-nav:hover {
overflow-y:auto;
}