Optimized sidebar cursor effect on touch screens.

This commit is contained in:
Cotes Chung 2019-11-06 18:06:10 +08:00
parent 5204f0c60e
commit 9565429ee0
1 changed files with 12 additions and 7 deletions

View File

@ -117,11 +117,16 @@ body {
height: 26px;
background: #fcfcfc;;
pointer-events: none;
}
@media (hover: hover) {
#sidebar ul>li:last-child::after {
-webkit-transition: top .5s ease;
-moz-transition: top .5s ease;
-o-transition: top .5s ease;
transition: top .5s ease;
}
}
#nav-wrap {
width: 100%;