From 7a04307c25da795cccc14bebc9fa6453a7ac181e Mon Sep 17 00:00:00 2001 From: Lisa Passing Date: Wed, 8 Apr 2015 13:16:21 +0200 Subject: [PATCH] fix alignment on tiles on landing, some css cleanup --- app/styles/app/landing.sass | 22 ++++++---------------- app/templates/home.hbs | 8 ++++---- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/app/styles/app/landing.sass b/app/styles/app/landing.sass index 981d2c4b..dfcf7751 100644 --- a/app/styles/app/landing.sass +++ b/app/styles/app/landing.sass @@ -408,10 +408,12 @@ text-align: center padding: 20px 0 0 0 - .recent-builds h2 - text-align: center - - .recent-builds p + .recent-builds-text h2, + .user-testimonials h2, + .private-repos h2, + .recent-builds-text p, + .user-testimonials p, + .private-repos p text-align: center .free-for-oss br.mobile-no-break @@ -424,21 +426,9 @@ display: inline-block margin-bottom: 40px - .private-repos h2 - text-align: center - - .private-repos p - text-align: center - .user-testimonials margin-bottom: 50px - .user-testimonials h2 - text-align: center - - .user-testimonails p - text-align: center - @media (max-width: 640px) .user-testimonials margin-bottom: 140px diff --git a/app/templates/home.hbs b/app/templates/home.hbs index a7bb3935..76e39a40 100644 --- a/app/templates/home.hbs +++ b/app/templates/home.hbs @@ -55,20 +55,20 @@

{{repo.name}}

-

+

{{#link-to "build" repo repo.lastBuild.id}} {{repo.lastBuild.number}} {{repo.lastBuild.state}} {{/link-to}}

-

+

{{format-sha repo.lastBuild.commit.sha}}

-

+

{{landing-page-last-build-time repo.lastBuild.finishedAt}}

-

+

{{repo.lastBuild.branch}}