1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-18 00:00:00 +00:00

Merge pull request #1902 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

View File

@@ -864,17 +864,6 @@ textarea:-moz-placeholder {/* for FF */
margin-bottom:1em; margin-bottom:1em;
} }
/* Hide for mobile, show later */ /* 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) { @media (max-width: 767px) {
.side-nav { .side-nav {
background: #f8f8f8; background: #f8f8f8;
@@ -890,6 +879,17 @@ textarea:-moz-placeholder {/* for FF */
box-shadow:0 0 4px #ccc; 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 { .side-nav:hover {
overflow-y:auto; overflow-y:auto;
} }