|
1 | | -html, body { background: #f9f9f9; -ms-overflow-style: scrollbar; /*ie-scrollbar*/ overflow-x: hidden; /* Prevent scroll on narrow devices */ } |
| 1 | +html, body { background: #f9f9f9; -ms-overflow-style: scrollbar; /*ie-scrollbar*/ } |
| 2 | + |
| 3 | +@media(max-width:768px) { |
| 4 | + html, body { overflow-x: hidden; /* Prevent scroll on narrow devices */ } |
| 5 | +} |
| 6 | + |
2 | 7 | .all { margin-top: 50px; margin-left: 220px; z-index: 20; padding-left: 0; padding-right: 0; }
|
3 | 8 | .sidebar { position: fixed; left: 0; top: 50px; width: 220px; padding: 0; background-color: #f1f1f1; -webkit-overflow-scrolling: touch; -webkit-overflow-scrolling: -blackberry-touch; border-right: 1px solid #ccc; overflow-y: auto; overflow-x: hidden; height: 100%; }
|
4 | 9 | .sidebar ul { list-style-type: none; margin: 0; padding: 0; }
|
|
0 commit comments