trello-width

270 -> 500px board width style for trello.com

  1. // ==UserScript==
  2. // @name trello-width
  3. // @namespace trello-width
  4. // @version 0.1
  5. // @description 270 -> 500px board width style for trello.com
  6. // @include *trello.com/*
  7. // @author Kuzyara
  8. // ==/UserScript==
  9. // vim: set nowrap ft= :
  10.  
  11.  
  12. function SetTrelloWidth(w) {
  13. var _px = w.toString()+'px';
  14. $('.list').css('max-width', 'none');
  15. $('.list').css('width', _px);
  16. $('.list').css('flex-basis', _px);
  17. $('.list-card').css('max-width', 'none');
  18. }
  19.  
  20. (function() {
  21.  
  22. setInterval((function() {
  23. //alert(1);
  24. SetTrelloWidth(500);
  25. return _results;
  26. }), 500);
  27.  
  28. }).call(this);