Customize styles for ChatGPT tables and text
当前为
// ==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.20250621080348
// @namespace https://greasyfork.org/users/1435046
// ==/UserScript==
(function () {
const style = document.createElement('style');
style.textContent = `
* {
min-width: unset !important;
}
#thread * {
margin-left: unset !important;
margin-right: unset !important;
}
div[class*="tableContainer"] {
width: unset !important;
}
div[class*="tableContainer"] * {
padding: unset !important;
height: unset !important;
}
div.text-base {
padding: unset !important;
}
.katex {
overflow-x: auto;
overflow-y: visible !important;
}
.katex .strut {
display: unset !important;
}
`;
document.head.appendChild(style);
})();