Skip to content

Commit 806d263

Browse files
committed
Use monospace font
1 parent baaa21a commit 806d263

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/Docs/SchemaClass.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ const FieldOffset = styled.button`
7474
background: none;
7575
border: none;
7676
padding: 0;
77-
font: inherit;
77+
font-family:
78+
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
7879
font-size: 14px;
7980
font-weight: 500;
8081
color: var(--text-dim);

src/components/Docs/SchemaEnum.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ const EnumMemberSignature = styled.div`
7070
`;
7171

7272
const EnumMemberHex = styled.span`
73+
font-family:
74+
ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
7375
font-size: 14px;
7476
font-weight: 500;
7577
color: var(--text-dim);

0 commit comments

Comments
 (0)