[planet-web] try to use meta viewport suggested by cwiiis



commit f088623bf11e77adb62af7b535c39dee7aac1c6e
Author: Andreas Nilsson <anilsson redhat com>
Date:   Fri Jan 10 14:45:32 2014 -0200

    try to use meta viewport suggested by cwiiis

 themes/gnome/index.html.tmpl  |    1 +
 themes/gnome/simple.html.tmpl |    1 +
 web/planet.css                |    3 ++-
 3 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/themes/gnome/index.html.tmpl b/themes/gnome/index.html.tmpl
index 0b67f79..ab60f6a 100644
--- a/themes/gnome/index.html.tmpl
+++ b/themes/gnome/index.html.tmpl
@@ -5,6 +5,7 @@
        <title><TMPL_VAR name></title>
 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+       <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport">
        <link rel="shortcut icon" type="image/png" href="https://planet.gnome.org/img/gnome-16.png";>
        <link rel="alternate" type="application/atom+xml" title="<TMPL_VAR title ESCAPE="HTML"> Atom 1.0" 
href="<TMPL_VAR link ESCAPE="HTML">atom.xml">
        <link rel="alternate" type="application/rss+xml" title="<TMPL_VAR title ESCAPE="HTML"> RSS 2.0" 
href="<TMPL_VAR link ESCAPE="HTML">rss20.xml">
diff --git a/themes/gnome/simple.html.tmpl b/themes/gnome/simple.html.tmpl
index 0b67f79..ab60f6a 100644
--- a/themes/gnome/simple.html.tmpl
+++ b/themes/gnome/simple.html.tmpl
@@ -5,6 +5,7 @@
        <title><TMPL_VAR name></title>
 
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+       <meta content="initial-scale=1.0,user-scalable=no,maximum-scale=1,width=device-width" name="viewport">
        <link rel="shortcut icon" type="image/png" href="https://planet.gnome.org/img/gnome-16.png";>
        <link rel="alternate" type="application/atom+xml" title="<TMPL_VAR title ESCAPE="HTML"> Atom 1.0" 
href="<TMPL_VAR link ESCAPE="HTML">atom.xml">
        <link rel="alternate" type="application/rss+xml" title="<TMPL_VAR title ESCAPE="HTML"> RSS 2.0" 
href="<TMPL_VAR link ESCAPE="HTML">rss20.xml">
diff --git a/web/planet.css b/web/planet.css
index cda1d8c..e016224 100644
--- a/web/planet.css
+++ b/web/planet.css
@@ -359,7 +359,8 @@ b.bo { bottom: 0px; left: 0px; background-position: bottom left; }
        }
 
 
- media (max-device-width: 640px) {
+ media (max-device-width: 640px),
+ media (max-width: 640px) {
 
     #planet-banner {
         width: auto;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]