From 33c302eaa6bb9a8e3f13e264cc7fcf2c219ce942 Mon Sep 17 00:00:00 2001 From: Nathan Leniz Date: Fri, 27 Feb 2015 18:17:42 +0900 Subject: [PATCH] Revert from tight-h3 class to prevent text overlapping when the text wrapped on devices with lower resolution --- views/partials/github.jade | 2 +- views/partials/trello.jade | 2 +- views/resources/learn-to-code.jade | 10 +++++----- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/views/partials/github.jade b/views/partials/github.jade index 5336774f95..5bd7e19f7e 100644 --- a/views/partials/github.jade +++ b/views/partials/github.jade @@ -7,7 +7,7 @@ script. }).done( function(data) { var github = document.createElement('div'); - $(github).html('

' + data.issues + ' GitHub issues are open. (create one)

' + data.pulls + ' pull requests are open. (create one)').prependTo($('#github')) + $(github).html('

' + data.issues + ' GitHub issues are open. (create one)

' + data.pulls + ' pull requests are open. (create one)').prependTo($('#github')) } ); })(); \ No newline at end of file diff --git a/views/partials/trello.jade b/views/partials/trello.jade index 5e9218ac08..1af9348f47 100644 --- a/views/partials/trello.jade +++ b/views/partials/trello.jade @@ -7,7 +7,7 @@ script. }).done( function(data) { var trello = document.createElement('div'); - $(trello).html('

We help ' + data.trello + ' nonprofits. (view them)

').prependTo($('#trello')) + $(trello).html('

We help ' + data.trello + ' nonprofits. (view them)

').prependTo($('#trello')) } ); })(); \ No newline at end of file diff --git a/views/resources/learn-to-code.jade b/views/resources/learn-to-code.jade index c3ba9747f6..4391ea2209 100644 --- a/views/resources/learn-to-code.jade +++ b/views/resources/learn-to-code.jade @@ -12,14 +12,14 @@ block content .col-xs-12.col-sm-12.col-md-4 .panel.panel-info .panel-heading.landing-panel-heading.text-center Get Connected - .panel-body.text-center.tight-h3 + .panel-body.text-center img.img-responsive.img-center(src="https://s3.amazonaws.com/freecodecamp/about-chatroom.jpg" alt="A screen shot from Free Code Camp's main chat room") - h3.tight-h3 #{c3} campers are doing challenges. - h3.tight-h3 #{all} campers are coding for nonprofits. + h3 #{c3} campers are doing challenges. + h3 #{all} campers are coding for nonprofits. .col-xs-12.col-sm-12.col-md-4 .panel.panel-info .panel-heading.landing-panel-heading.text-center Learn JavaScript - .panel-body.text-center.tight-h3 + .panel-body.text-center img.img-responsive.img-center(src="https://s3.amazonaws.com/freecodecamp/about-github.jpg" alt="A screen shot of a GitHub commit graph showing a streak of 33 consecutive days of contributions") include ../partials/github .col-xs-12.col-sm-12.col-md-4 @@ -27,7 +27,7 @@ block content .panel-heading.landing-panel-heading.text-center Help Nonprofits .panel-body.text-center img.img-responsive.img-center(src="https://s3.amazonaws.com/freecodecamp/about-trello.jpg" alt="a screen shot of Free Code Camp's nonprofit project Trello board showing several active projects") - h3.tight-h3 We launched #{daysRunning} days ago. + h3 We launched #{daysRunning} days ago. include ../partials/trello