fix(ui): keep codex toml tokens inline (#1219)

This commit is contained in:
Kai (Tam Nhu) Tran authored and GitHub committed 2026-05-12 07:51:59 -04:00
1 parent e5a10c9ed9
commit 5138741b5c
2 files changed
+12

No files matched your search

+5
View File
@@ -172,6 +172,11 @@ export function CodeEditor({
}
const tokenProps = getTokenProps({ token });
// Prism TOML emits a `table` class, which collides with Tailwind's layout utility.
tokenProps.style = {
...tokenProps.style,
display: 'inline',
};
if (isSensitive && isMasked) {
tokenProps.className = cn(