From 79b20d9798de778fd524dda2d286663ee107306c Mon Sep 17 00:00:00 2001 From: terakilobyte Date: Wed, 27 May 2015 15:15:28 -0400 Subject: [PATCH] Update copy for uncomment html. Fix iframe view covering up button in narrow width. Make iframe fixed so it's viewable as code editor expands and people scroll down. closes #596, closes #655 --- public/css/main.less | 5 +++++ seed_data/challenges/basic-html5-and-css.json | 5 +++-- views/coursewares/showHTML.jade | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/public/css/main.less b/public/css/main.less index 2b9fa9d826..e6b3a22af6 100644 --- a/public/css/main.less +++ b/public/css/main.less @@ -1087,6 +1087,11 @@ hr { color: @gray-light; } +.iframe-scroll { + position: fixed !important; + margin-top: 75px; +} + //uncomment this to see the dimensions of all elements outlined in red //* { // border-color: red; diff --git a/seed_data/challenges/basic-html5-and-css.json b/seed_data/challenges/basic-html5-and-css.json index 9a5a070d20..23640cdcdc 100644 --- a/seed_data/challenges/basic-html5-and-css.json +++ b/seed_data/challenges/basic-html5-and-css.json @@ -90,7 +90,8 @@ "Uncomment the h1, h2 and p elements.", "Commenting is a way that you can leave comments within your code without affecting the code itself.", "Commenting is also a convenient way to make code inactive without having to delete it entirely.", - "You can start a comment with <!-- and end a comment with -->." + "You can start a comment with <!-- and end a comment with -->.", + "Lastly, someone's made a typo on one of the tags. Go ahead and fix it!" ], "tests": [ "assert($('h1').length > 0, 'The h1 element should not be commented. It should be visible in the browser.')", @@ -101,7 +102,7 @@ "