diff --git a/src/styles/_config.sass b/src/styles/_config.sass index 0a8020d..3a37c9e 100644 --- a/src/styles/_config.sass +++ b/src/styles/_config.sass @@ -93,4 +93,3 @@ $screen-md-max: $screen-lg-min - 1 $sidebar-width: 50px $shots-list-thumbnail-width: 100px -$shots-list-thumbnail-height: 60px diff --git a/src/styles/_shots.sass b/src/styles/_shots.sass index 9f594d5..6d1b5a1 100644 --- a/src/styles/_shots.sass +++ b/src/styles/_shots.sass @@ -32,10 +32,6 @@ .table-body display: table-row-group - &.has-thumbnails - .table-cell a, - .table-cell a.task-link - height: $shots-list-thumbnail-height .table-row position: relative diff --git a/src/templates/attract/shots/for_project.jade b/src/templates/attract/shots/for_project.jade index 245be70..a5cb086 100644 --- a/src/templates/attract/shots/for_project.jade +++ b/src/templates/attract/shots/for_project.jade @@ -97,26 +97,17 @@ script. /* We need to find every cell matching the same classes */ same_cells = '.' + $(this).parent().attr('class').split(' ').join('.'); - - if ($(this).hasClass('thumbnails')){ - $('.table-body').removeClass('has-thumbnails'); - } - $(same_cells).hide(); /* Add the spacer which we later click to expand */ $('
').insertAfter(same_cells); }); $('body').on('click', '.table-cell-spacer', function(){ - if ($(this).prev().hasClass('shot-thumbnail')){ - $('.table-body').addClass('has-thumbnails'); - } /* We need to find every cell matching the same classes */ same_cells = '.' + $(this).prev().attr('class').split(' ').join('.'); $(same_cells).show(); $(same_cells).next().remove(); - }); $('.table-body .table-cell').mouseenter(function(){