Commit ab3d16a41249a4e4de4d1005dafaad5d8d9cccbd

Authored by Victor Costa
1 parent 9c1e293b

Display full text when click on proposal in proposals ranking

Showing 2 changed files with 4 additions and 0 deletions   Show diff stats
@@ -183,6 +183,9 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F @@ -183,6 +183,9 @@ define(['handlebars', 'fastclick', 'handlebars_helpers'], function(Handlebars, F
183 } 183 }
184 }); 184 });
185 } 185 }
  186 + $resultsContainer.find('.abstract-text .truncated').click(function() {
  187 + $(this).toggleClass('truncated');
  188 + });
186 189
187 // scroll to the end 190 // scroll to the end
188 $('html, body').animate({ 191 $('html, body').animate({
sass/style.sass
@@ -786,6 +786,7 @@ td @@ -786,6 +786,7 @@ td
786 text-align: center 786 text-align: center
787 .abstract-text 787 .abstract-text
788 width: 80% 788 width: 80%
  789 + cursor: pointer
789 p 790 p
790 margin: inherit 791 margin: inherit
791 .value 792 .value