fix: fix iPad TOC orientation css bug

This commit is contained in:
Dillon
2019-08-22 00:32:52 +08:00
parent f64c499957
commit 87857b2002
2 changed files with 30 additions and 9 deletions

View File

@@ -150,7 +150,23 @@
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
.post-warp {
max-width: 600px !important;
}
.navbar-mobile {
display: none !important;
}
.post-toc {
display: none !important;
}
}
/* iPads (portrait and landscape) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:landscape) {
.post-warp {
max-width: 560px !important;
}