From 1cc8518dfdcc8fedb6cacfc03595999ca69ddb42 Mon Sep 17 00:00:00 2001 From: LeeAnn Kinney Date: Sat, 21 Mar 2015 15:02:22 -0400 Subject: [PATCH] fixed button centering issue on mobile using foundation class "text-center" --- app/assets/stylesheets/index.css.scss | 2 +- app/views/home/index.html.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/index.css.scss b/app/assets/stylesheets/index.css.scss index 019b2a97..338a87b3 100644 --- a/app/assets/stylesheets/index.css.scss +++ b/app/assets/stylesheets/index.css.scss @@ -18,7 +18,7 @@ body[data-controller="home"][data-action="index"] { @include background-image(linear-gradient(bottom top, lighten(#8e4487, 10%), lighten(#653060, 10%))); } - margin-left: 75px; + margin-left: 20px; .fi-social-github { font-size: 1.8em; diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index 863c6f7a..9c718cc9 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -30,7 +30,7 @@

We believe <%= link_to 'coders can be superheroes', "http://devslovebacon.com/conferences/bacon-2013/talks/developers-are-superheroes-and-so-can-you" %>.
Join us to find open source, social impact projects that improve the world.

-
+
<% if user_signed_in? %> <%= link_to '  Start Coding Now'.html_safe, projects_path, :class => "large radius index button centered home-signup" %> <% else %>