chatgpt css

Customize styles for ChatGPT tables and text

2025-07-18 या दिनांकाला. सर्वात नवीन आवृत्ती पाहा.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name         chatgpt css
// @description  Customize styles for ChatGPT tables and text
// @match        https://chat.openai.com/*
// @match        https://chatgpt.com/*
// @version 0.0.1.20250718144615
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==

(function () {
    const style = document.createElement('style');

    style.textContent = `
        * {
          min-width: revert !important;
          -webkit-line-clamp: revert !important;
        }

        *:not(.katex-display):not(.katex-display *) {
        white-space: revert !important;
        margin-left: revert !important;
          margin-right: revert !important;
        }

        #thread * {
            /*margin-left: revert !important;
            margin-right: revert !important;*/
        }

        div[class*="tableContainer"] {
            /*width: unset !important;*/
            width: revert !important;
        }

        div[class*="tableContainer"] * {
            /*padding: unset !important;
            height: unset !important;*/
            padding: revert !important;
            height: revert !important;
        }

        div.text-base {
            /*padding: unset !important;*/
            padding: revert !important;
        }

        .katex-display {
        overflow: scroll;
        }

        .katex {
            /*overflow-x: auto;
            overflow-y: visible !important;*/
        }

        .katex .strut {
            /*display: unset !important;
            display: revert !important;*/
        }

.bg-token-message-surface {
background-color: blue !important;
}

button {
white-space: revert !important;
}

div[data-radix-popper-content-wrapper] {
    transform: revert !important;
}

div[data-radix-popper-content-wrapper], div[data-radix-popper-content-wrapper] * {
    width: revert !important;
    min-width: revert !important;
    white-space: revert !important;
    overflow-wrap: anywhere !important;
}
        `;
    document.head.appendChild(style);
})();