Make the preview image full screen width on mobile

This commit is contained in:
Cotes Chung 2021-12-10 16:00:26 +08:00
parent 5ca0966c41
commit 09e8eb4274
1 changed files with 6 additions and 1 deletions

View File

@ -353,11 +353,16 @@ nav[data-toggle=toc] {
}
/* Hide SideBar and TOC */
@media all and (max-width: 830px) {
@media all and (max-width: 849px) {
.post-navigation {
padding-left: 0;
padding-right: 0;
margin-left: -0.5rem;
margin-right: -0.5rem;
}
.preview-img[data-src] {
max-width: 100vw;
border-radius: 0;
}
}