File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 99
1010.codeBlock code {
1111 padding : 16px ;
12- font-family : inherit;
12+ /* Fix for https://github.com/ghostty-org/website/issues/312
13+ * In the case a user has custom fonts disabled, this ensures
14+ * that the code block is still readable.
15+ *
16+ * Additionally, `inherit` here didn't seem to be working? So we're
17+ * setting the font-family explicitly.
18+ */
19+ font-family : var (--jetbrains-mono ), monospace;
1320}
1421
1522.copyButton {
4047.copyButtonSuccess {
4148 color : var (--atom-one-green );
4249}
43-
Original file line number Diff line number Diff line change 7777 }
7878 }
7979 & > code {
80- font-family : var (--jetbrains-mono );
80+ /* Fix for https://github.com/ghostty-org/website/issues/312
81+ * In the case a user has custom fonts disabled, this ensures
82+ * that the code block is still readable.
83+ */
84+ font-family : var (--jetbrains-mono ), monospace;
8185 border : 1px solid var (--gray-3 );
8286 background : var (--gray-2 );
8387 border-radius : 4px ;
Original file line number Diff line number Diff line change 77 align-items : flex-start;
88
99 & .unimplemented {
10- font-family : var (--jetbrains-mono );
10+ /* Fix for https://github.com/ghostty-org/website/issues/312
11+ * In the case a user has custom fonts disabled, this ensures
12+ * that the code block is still readable.
13+ */
14+ font-family : var (--jetbrains-mono ), monospace;
1115 font-size : 14px ;
1216 background : var (--atom-one-red );
1317 color : var (--gray-0 );
2630 flex-grow : 1 ;
2731 width : 100% ;
2832 display : flex;
29- font-family : var (--jetbrains-mono );
33+ font-family : var (--jetbrains-mono ), monospace ;
3034 list-style : none;
3135
3236 & .vtelem {
You can’t perform that action at this time.
0 commit comments