From 538185173a1b2b5fa76076703111a91226d655fd Mon Sep 17 00:00:00 2001 From: Tom Giannattasio Date: Fri, 10 Aug 2012 11:48:07 -0400 Subject: [PATCH] added truncation for super long titles --- lms/static/sass/base/_extends.scss | 13 ------------- lms/static/sass/course/base/_extends.scss | 4 ++++ 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/lms/static/sass/base/_extends.scss b/lms/static/sass/base/_extends.scss index 0161610a28..2998e25dca 100644 --- a/lms/static/sass/base/_extends.scss +++ b/lms/static/sass/base/_extends.scss @@ -93,18 +93,5 @@ .global { h2 { display: none; - float: left; - font-size: 0.9em; - font-weight: 600; - line-height: 40px; - letter-spacing: 0; - text-transform: none; - text-shadow: 0 1px 0 #fff; - - .provider { - font: inherit; - font-weight: bold; - color: #6d6d6d; - } } } \ No newline at end of file diff --git a/lms/static/sass/course/base/_extends.scss b/lms/static/sass/course/base/_extends.scss index 418074ee01..7b3e1cba84 100644 --- a/lms/static/sass/course/base/_extends.scss +++ b/lms/static/sass/course/base/_extends.scss @@ -193,6 +193,7 @@ h1.top-header { h2 { display: block; + width: 700px; float: left; font-size: 0.9em; font-weight: 600; @@ -200,6 +201,9 @@ h1.top-header { letter-spacing: 0; text-transform: none; text-shadow: 0 1px 0 #fff; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; .provider { font: inherit;