Skip to content

Commit cfb6be0

Browse files
committed
fix: align box-drawing code blocks
1 parent 9a6ba52 commit cfb6be0

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎.changeset/eight-doors-care.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@node-core/ui-components': major
3+
---
4+
5+
Fix monospace box-drawing alignment on platforms without compatible system fonts

‎packages/ui-components/src/styles/markdown.css‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ main {
111111
*/
112112
pre {
113113
--font-ibm-plex-mono:
114-
'SFMono-Regular', 'Menlo', 'Consolas', 'Liberation Mono', 'Courier New',
115-
monospace;
114+
'SFMono-Regular', 'Menlo', 'Consolas', 'Liberation Mono', 'IBM Plex Mono',
115+
'Courier New', monospace;
116116
}
117117

118118
p {

0 commit comments

Comments
 (0)