fix(ui): apply mono font directly to code/pre elements
Browser UA stylesheet sets font-family: monospace on <code> and <pre>, overriding the inherited Geist Mono from parent containers. Apply font-mono explicitly on these elements so they use the project's monospace font instead of the browser default.
This commit is contained in:
parent
1e2052c689
commit
83f325c586
2 changed files with 6 additions and 5 deletions
|
|
@ -94,6 +94,7 @@
|
|||
|
||||
/* Code blocks */
|
||||
.rich-text-editor pre {
|
||||
font-family: var(--font-mono, ui-monospace, monospace);
|
||||
background: var(--muted);
|
||||
border-radius: var(--radius);
|
||||
padding: 0.75rem 1rem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue