Skip to content

Commit

Permalink
[html] add maximum scale to avoid bad layout resizing on iPad and iPh…
Browse files Browse the repository at this point in the history
…one when toggling between portrait and landscape modes
  • Loading branch information
Ida Swarczewskaja committed Jan 10, 2012
1 parent 06f3589 commit 51a376c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui.opa
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ custom_css_funs = [

function mypage(title,body){
Resource.full_page(title, body,
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0 , maximum-scale=1.0"/>
<link href="/resources/bootstrap.min.css" rel="stylesheet" type="text/css"/>
<link href="/resources/style.css" rel="stylesheet" type="text/css"/>,
web_response {success},
Expand Down

0 comments on commit 51a376c

Please sign in to comment.