From e5038d9cfb1e45caf8269fc92cc876029dd1ad56 Mon Sep 17 00:00:00 2001 From: Seth Meranda <smeranda2@unl.edu> Date: Thu, 30 Sep 2010 22:03:33 +0000 Subject: [PATCH] copy styles from m.unl.edu to try and fix the small iPhone problem, still no luck. --- plugins/mobile_unl/views/mobile/mobile_unl/css.php | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/plugins/mobile_unl/views/mobile/mobile_unl/css.php b/plugins/mobile_unl/views/mobile/mobile_unl/css.php index a6a6947d..c2ef3c2f 100644 --- a/plugins/mobile_unl/views/mobile/mobile_unl/css.php +++ b/plugins/mobile_unl/views/mobile/mobile_unl/css.php @@ -8,6 +8,14 @@ margin-top:15px; border-top:1px solid #DFDEDE; } +#maincontent * {max-width:300px !important;} + +/* Now orientation change classes */ +body.portrait {} +body.landscapeLeft, body.landscapeRight {width:480px;} +body.landscapeLeft #maincontent *, +body.landscapeRight #maincontent * {max-width:450px !important;} + <?php //Login ?> #casOption { display:block; -- GitLab