From 5f34bf9c2f94046ea1c777d5c28418063bb8225d Mon Sep 17 00:00:00 2001 From: Akkariin Meiko Date: Sun, 19 Jan 2020 11:46:27 +0800 Subject: [PATCH] Fix: Images display problems on home page Fix some css problems --- modules/home.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/modules/home.php b/modules/home.php index 5e7f669..d3f1a13 100755 --- a/modules/home.php +++ b/modules/home.php @@ -30,6 +30,13 @@ if($traffic < 0) { .fix-text p { margin-bottom: 4px; } +.fix-text pre { + background: rgba(0,0,0,0.05); + border-radius: 4px; +} +.fix-image img { + max-width: 100%; +}
@@ -90,7 +97,7 @@ if($traffic < 0) {

站点公告

-
+
text(Settings::get("broadcast", "暂时没有公告信息")); ?>
@@ -100,11 +107,11 @@ if($traffic < 0) {

使用帮助

-
+
text(Settings::get("helpinfo", "暂时没有帮助信息")); ?>
- \ No newline at end of file +