From e470e1159830c72f177dbf90d81662866f1ce7e9 Mon Sep 17 00:00:00 2001 From: Pk11 Date: Sun, 29 May 2022 05:05:42 -0500 Subject: [PATCH] Fix mobile header --- index.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/index.php b/index.php index 739a77a..7641dab 100644 --- a/index.php +++ b/index.php @@ -358,6 +358,13 @@ } $mobile = preg_match('/Mobile|Nintendo DSi/', $_SERVER['HTTP_USER_AGENT']); + if($mobile) { + $headerW = 192; + $headerH = 50; + } else { + $headerW = 384; + $headerH = 100; + } ?>
- BBS.ピケ.コム + BBS.ピケ.コム