From ef874e275480e714aca19023b1c0ba77fd88e412 Mon Sep 17 00:00:00 2001 From: Michael Q Larson Date: Wed, 22 Oct 2014 07:42:37 -0700 Subject: [PATCH] fix curriculum page --- public/css/styles.less | 4 ++++ views/curriculum/curriculum.jade | 1 - views/partials/navbar.jade | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/css/styles.less b/public/css/styles.less index cc5875118a..416b74b34c 100644 --- a/public/css/styles.less +++ b/public/css/styles.less @@ -130,6 +130,10 @@ ul { margin-bottom: -20px; } +.nav-fixed-height { + height: 50px; +} + .responsive-container { position: relative; padding-bottom: 56.25%; padding-top: 30px; height: 0; overflow: hidden; } .responsive-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; } diff --git a/views/curriculum/curriculum.jade b/views/curriculum/curriculum.jade index 5c5ad206e6..e113f8934e 100644 --- a/views/curriculum/curriculum.jade +++ b/views/curriculum/curriculum.jade @@ -12,7 +12,6 @@ block content li Challenge #2 will show you how to start a pair programming session. Pair program as much as possible. It's more fun, and you'll learn better that way. p We're working to create more challenges. If you have an idea for a challenge you'd like us to implement,  a(href="https://twitter.com/intent/tweet?text=Hey%20@freecodecamp") tweet it to @freecodecamp. -x .col-sm-4.col-xs-12 include ./../partials/challenges .col-sm-4.col-xs-12 diff --git a/views/partials/navbar.jade b/views/partials/navbar.jade index 6463cf0723..e797af0067 100644 --- a/views/partials/navbar.jade +++ b/views/partials/navbar.jade @@ -1,4 +1,4 @@ -.navbar.navbar-default.navbar-fixed-top +.navbar.navbar-default.navbar-fixed-top.nav-fixed-height .container .navbar-header button.navbar-toggle(type='button', data-toggle='collapse', data-target='.navbar-collapse')