From 6dedac19292b4979a7b15aea02d7f1366b4902bc Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Fri, 25 Oct 2013 12:50:36 +0300 Subject: [PATCH] [ticket/11956] Adjust few elements for tiny devices Change min-width for tiny phones Adjust form elements max-width for tiny phones PHPBB3-11956 --- phpBB/styles/prosilver/theme/responsive.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/phpBB/styles/prosilver/theme/responsive.css b/phpBB/styles/prosilver/theme/responsive.css index cfe76149d8..d7af7519b7 100644 --- a/phpBB/styles/prosilver/theme/responsive.css +++ b/phpBB/styles/prosilver/theme/responsive.css @@ -17,7 +17,7 @@ body { } #wrap { - min-width: 320px; + min-width: 300px; padding: 0; } @@ -343,6 +343,19 @@ fieldset.quick-login label[for="autologin"] { min-width: 50%; } +@media only screen and (max-width: 500px), only screen and (max-device-width: 500px) +{ + select, .inputbox { + max-width: 260px; + } +} + +@media only screen and (max-width: 320px), only screen and (max-device-width: 320px) +{ + select, .inputbox { + max-width: 240px; + } +} /* User profile ----------------------------------------*/