mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-31 19:16:29 +00:00
fix(desktop): drop the doubled inset around highlighted code blocks
This commit is contained in:
parent
937222f4ec
commit
b7ee610dc9
1 changed files with 7 additions and 0 deletions
|
|
@ -1549,6 +1549,13 @@ text-* variant utilities. */ .btn-arc {
|
|||
margin: 0 !important;
|
||||
}
|
||||
|
||||
/* react-shiki nests its own `pre.shiki` inside our `.aui-shiki` Pre, so the
|
||||
code card's `[&_pre]` padding lands on both and doubles the inset. The outer
|
||||
Pre already carries the card's padding — zero the inner one. */
|
||||
[data-slot='aui_assistant-message-content'] .aui-md .aui-shiki .shiki {
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
[data-slot='aui_assistant-message-content'] .aui-md .aui-md-table {
|
||||
border-spacing: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue