From b23f17dbe7f6a60409165eb296a211aaea87f107 Mon Sep 17 00:00:00 2001 From: Frances Botsford Date: Wed, 2 Apr 2014 22:49:19 -0400 Subject: [PATCH] removed commented out lines --- cms/static/sass/elements/_xblocks.scss | 9 --------- cms/templates/widgets/source-edit.html | 3 +-- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/cms/static/sass/elements/_xblocks.scss b/cms/static/sass/elements/_xblocks.scss index 281bcff3df..5306e3e928 100644 --- a/cms/static/sass/elements/_xblocks.scss +++ b/cms/static/sass/elements/_xblocks.scss @@ -40,11 +40,6 @@ vertical-align: top; } } - - // UI: xblock render - .xblock-render { - // @extend %anim-fadeIn; - } } // ==================== @@ -68,10 +63,6 @@ width: $baseline; } - &.collapsed .xblock-render { - //display: none; - } - .action-view { .action-button { diff --git a/cms/templates/widgets/source-edit.html b/cms/templates/widgets/source-edit.html index 962fa78aaa..fda097063b 100644 --- a/cms/templates/widgets/source-edit.html +++ b/cms/templates/widgets/source-edit.html @@ -45,8 +45,7 @@ require(["jquery", "jquery.leanModal", "codemirror/stex"], function($) { $('#hls-trig-${hlskey}').click(function() { - ## this ought to be done using css instead - // hlsmodal.attr('style', function(i,s) { return s + ' margin-left:0px !important; left:5%' }); + ## cannot do this with css or it gets overwritten var editorH = $( window ).height() - 100; var editorW = $( window ).innerWidth() - 70; hlsmodal.attr('style', function(i,s) { return s + 'margin: 2% 0 0 10% !important; left:0; height:' + editorH + 'px;'});