allenai css

Force code wrapping and unset chat message display

  1. // ==UserScript==
  2. // @name allenai css
  3. // @description Force code wrapping and unset chat message display
  4. // @match https://playground.allenai.org/*
  5. // @version 0.0.1.20250525094854
  6. // @namespace https://greasyfork.org/users/1435046
  7. // ==/UserScript==
  8.  
  9. (function() {
  10. const style = document.createElement('style');
  11. style.textContent = `
  12. .chat-message {
  13. display: unset !important;
  14. }
  15.  
  16. code {
  17. white-space: pre-wrap;
  18. }
  19.  
  20. .MuiBox-root {
  21. padding: 0 !important;
  22. }
  23. `;
  24. document.head.appendChild(style);
  25. })();