mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-14 14:17:11 +00:00
fix(ui): keep codex toml tokens inline (#1219)
This commit is contained in:
1 parent
e5a10c9ed9
commit
5138741b5c
2 files changed
+12
No files matched your search
@@ -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(
|
||||
|
||||
Reference in new issue
Block a user