From 52de7975c4f89afbf03bf9baa7046a01c4440e24 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Wed, 4 Aug 2021 15:19:50 +0800 Subject: [PATCH] background (or other) based on width/height not only width --- theme/classic.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/classic.html b/theme/classic.html index b7b155e..3188f68 100644 --- a/theme/classic.html +++ b/theme/classic.html @@ -63,7 +63,7 @@ .operatediv_close{position:absolute;right:3px;top:3px;} .readme{padding:8px;} .markdown-body, .customfile{padding:20px;text-align:left} - @media only screen and (max-width:480px){ + @media only screen and (orientation: portrait){ body{background-repeat:no-repeat;background-size:cover;background-attachment:fixed;background-image:url("");}