Greasy Fork

Greasy Fork is available in English.

allenai css

Force code wrapping and unset chat message display

// ==UserScript==
// @name         allenai css
// @description  Force code wrapping and unset chat message display
// @match        https://playground.allenai.org/*
// @version 0.0.1.20250714102103
// @namespace http://greasyfork.icu/users/1435046
// ==/UserScript==

(function() {
  const style = document.createElement('style');
    style.textContent = `
        .chat-message {
            display: unset !important;
        }

        code {
            white-space: pre-wrap;
        }

        .MuiBox-root {
            padding: 0 !important;
        }

        button[aria-label="Scroll to bottom"] {
            display: none !important;
        }
        `;
  document.head.appendChild(style);
})();