From: rsiddharth Date: Sat, 29 Oct 2016 23:45:29 +0000 (+0000) Subject: Fix Register Now button on small screens. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=abfb127366006e59e7ee5ba5f870183a01977708;p=libreplanet-static.git Fix Register Now button on small screens. --- diff --git a/2017/assets/css/custom.css b/2017/assets/css/custom.css index 0f01f188..faf4bcf0 100644 --- a/2017/assets/css/custom.css +++ b/2017/assets/css/custom.css @@ -331,10 +331,6 @@ hr { } } -.register-block { - z-index: 1000; -} - .btn-register { margin-top: 0.5em; margin-bottom: 0.3em; diff --git a/2017/includes/common_js.html b/2017/includes/common_js.html index d13c84a2..486491e2 100755 --- a/2017/includes/common_js.html +++ b/2017/includes/common_js.html @@ -28,10 +28,12 @@ function logoTextStack() { screen_width = $(window).width(); if(screen_width <= 767) { - $('.register-block').prependTo('#lp-content'); + $('.register-block').prependTo('#lp-content') + .removeClass('col-sm-offset-2 col-sm-4'); $('#lp-signup-block').insertBefore('#lp-content'); }else { - $('.register-block').appendTo('.lp-head'); + $('.register-block').appendTo('.lp-head') + .addClass('col-sm-offset-2 col-sm-4'); $('#lp-signup-block').appendTo('.lp-head'); } } diff --git a/2017/includes/register-now.html b/2017/includes/register-now.html index f8f34c1b..57e85200 100644 --- a/2017/includes/register-now.html +++ b/2017/includes/register-now.html @@ -1,4 +1,4 @@ -
+