From 3106306a4d2af24ff37097fc337c4e351ba7c0a9 Mon Sep 17 00:00:00 2001 From: Cesar G Date: Fri, 16 May 2014 15:27:06 -0700 Subject: [ticket/12155] Make the buttons bigger on touch devices. PHPBB3-12155 --- phpBB/styles/prosilver/template/forum_fn.js | 2 ++ phpBB/styles/prosilver/template/overall_header.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'phpBB/styles/prosilver/template') diff --git a/phpBB/styles/prosilver/template/forum_fn.js b/phpBB/styles/prosilver/template/forum_fn.js index 87754269cd..8ca8d82cae 100644 --- a/phpBB/styles/prosilver/template/forum_fn.js +++ b/phpBB/styles/prosilver/template/forum_fn.js @@ -919,6 +919,8 @@ function parse_document(container) $(document).ready(function() { // Swap .nojs and .hasjs $('#phpbb.nojs').toggleClass('nojs hasjs'); + $('#phpbb').toggleClass('hastouch', phpbb.isTouch); + $('#phpbb.hastouch').removeClass('notouch'); // Focus forms $('form[data-focus]:first').each(function() { diff --git a/phpBB/styles/prosilver/template/overall_header.html b/phpBB/styles/prosilver/template/overall_header.html index 8c63ce9cea..d18fff6bb0 100644 --- a/phpBB/styles/prosilver/template/overall_header.html +++ b/phpBB/styles/prosilver/template/overall_header.html @@ -52,7 +52,7 @@ {$STYLESHEETS} - + -- cgit v1.2.1