Fix register-now on small screens.
authorrsiddharth <rsd@gnu.org>
Tue, 11 Oct 2016 03:47:18 +0000 (03:47 +0000)
committerrsiddharth <rsd@gnu.org>
Tue, 11 Oct 2016 03:47:18 +0000 (03:47 +0000)
2017/assets/css/custom.css
2017/includes/common_js.html
2017/includes/header.html

index faf4bcf07c0bf54932f1bc840460da88a25d5caf..0f01f188965d2f9f8fd44cc91cdbcd156597115f 100644 (file)
@@ -331,6 +331,10 @@ hr {
   }
 }
 
+.register-block {
+    z-index: 1000;
+}
+
 .btn-register {
   margin-top: 0.5em;
   margin-bottom: 0.3em;
index ef3804e785463a90d0dc9bbc6c0d403092a70688..d13c84a2538ee41054439cb63d51bb9a8dd09778 100755 (executable)
@@ -28,7 +28,7 @@ function logoTextStack() {
      screen_width = $(window).width();
 
      if(screen_width <= 767) {
-         $('.register-block').insertBefore('#lp-content');
+         $('.register-block').prependTo('#lp-content');
          $('#lp-signup-block').insertBefore('#lp-content');
      }else {
          $('.register-block').appendTo('.lp-head');
index 6574831fd81a88a36a85da1846c35252aa62df1d..28b461cf46c55e783b1eb760b4c1828e27deb3fe 100755 (executable)
@@ -2,7 +2,7 @@
 <html lang="en">
   <head>
     <meta charset="utf-8" />
-    <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, user-scalable=no" />
 
     <link href="/2017/assets/css/bootstrap.min.css" rel="stylesheet" media="screen" />
     <link href="/2017/assets/css/jquery-ui-1.9.0.custom.css" rel="stylesheet" media="screen" />