Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

fix for the inbuilt zoom controls issue in android. #9

wants to merge 1 commit into from

1 participant

Rohit Rai
Rohit Rai

I have set user-scalable=no in the viewport tag... you were already using the viewport tag... i didn't notice it earlier!

This fixes the issue of zoom controls overlapping with pagination controls as the zoom controls are not shown now.

Rohit Rai milliondreams closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Apr 13, 2011
Rohit Rai Setting viewport's user-scalable to 'no' so that the in built zoom co…
…ntrols don't show/overlap on pagination controls.
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  grails-app/views/layouts/main.gsp
2  grails-app/views/layouts/main.gsp
@@ -8,7 +8,7 @@
8 8
 		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
9 9
 		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
10 10
 		<title><g:layoutTitle default="Grails"/></title>
-		<meta name="viewport" content="width=device-width, initial-scale=1.0">
+		<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
12 12
 		<r:use modules="modernizr,jquery,jquery-ui,scaffolding"/>
13 13
14 14
 		<link rel="shortcut icon" href="${resource(dir: 'images', file: 'favicon.ico')}" type="image/x-icon">

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.