From d6ea7e190a2a53497a4cea03d1e6a3527059955e Mon Sep 17 00:00:00 2001 From: Lex Lim Date: Thu, 13 Mar 2025 13:43:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9citizen=E4=B8=8Ainfobox?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/information/ext.isekai.information.infobox.less | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/modules/information/ext.isekai.information.infobox.less b/modules/information/ext.isekai.information.infobox.less index 513fe6f..51cc18a 100644 --- a/modules/information/ext.isekai.information.infobox.less +++ b/modules/information/ext.isekai.information.infobox.less @@ -1,14 +1,19 @@ .infobox { + max-width: 260px; + @media (max-width: 767px) { width: 100%; + max-width: 100%; } @media (min-width: 768px) { &.infobox-float-left { float: left; + margin-right: 1em; } &.infobox-float-right { float: right; + margin-left: 1em; } } @@ -33,6 +38,7 @@ img { max-width: 100%; max-height: 350px; + object-fit: contain; } } @@ -49,4 +55,4 @@ background-color: #202122; } } -} \ No newline at end of file +}