mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1248907 - Remove hard-coded responsive view size to mulet when launching Gaia. r=ochameau
This commit is contained in:
parent
b924602928
commit
9b07a501ff
@ -141,16 +141,6 @@ function initResponsiveDesign() {
|
||||
|
||||
// Enable touch events
|
||||
responsive.enableTouch();
|
||||
|
||||
// Automatically toggle responsive design mode
|
||||
let width = 320, height = 480;
|
||||
// We have to take into account padding and border introduced with the
|
||||
// device look'n feel:
|
||||
width += 15*2; // Horizontal padding
|
||||
width += 1*2; // Vertical border
|
||||
height += 60; // Top Padding
|
||||
height += 1; // Top border
|
||||
responsive.setSize(width, height);
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user