Skip to content

Commit 859ef10

Browse files
committed
Fix inconsistent typefaces
1 parent 0930ebe commit 859ef10

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.changeset/eight-suns-search.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@compai/css-gui': patch
3+
---
4+
5+
Fix inconsistent typefaces

packages/gui/src/components/html/TreeNode.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export function TreeNode({ value, path, onSelect, onChange }: TreeNodeProps) {
150150
margin: 0,
151151
padding: 0,
152152
fontSize: '14px',
153+
fontFamily: 'monospace',
153154
}}
154155
onClick={() => {
155156
if (isSelected) {
@@ -171,6 +172,7 @@ export function TreeNode({ value, path, onSelect, onChange }: TreeNodeProps) {
171172
backgroundColor: isSelected ? '#ff0' : 'background',
172173
color: 'text',
173174
fontSize: '14px',
175+
fontFamily: 'monospace',
174176
fontWeight: isSelected ? 700 : 400,
175177
borderRadius: '6px',
176178
px: 2,
@@ -300,6 +302,7 @@ export function TreeNode({ value, path, onSelect, onChange }: TreeNodeProps) {
300302
py: 0,
301303
px: 2,
302304
fontSize: '14px',
305+
fontFamily: 'monospace',
303306
bg: isSelected ? '#ff0' : 'background',
304307
fontWeight: isSelected ? 700 : 400,
305308
borderRadius: '6px',

0 commit comments

Comments
 (0)