Skip to content

Commit 6d1e684

Browse files
committed
Specify fallback fonts if Segue UI or Consolas don't exist
Such as on Linux.
1 parent 15ca171 commit 6d1e684

File tree

6 files changed

+12
-12
lines changed

6 files changed

+12
-12
lines changed

extensions-inprogress/struct-viz/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,6 @@
9191
</head>
9292
<body>
9393
Type: <input type="text" id="type" value="edgehtml!CFancyFormat" style="width:30em;"/> <button>Describe</button>
94-
<div id="result" style="font-family:Consolas; font-size:9pt; white-space:nowrap;"></div>
94+
<div id="result" style="font-family:Consolas, monospace; font-size:9pt; white-space:nowrap;"></div>
9595
</body>
96-
</html>
96+
</html>

extensions/dbgobject-inspector/dbgobject-inspector.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
.dbgobject-inspector > .drop-down {
1414
display:inline;
1515
font-size:1rem;
16-
font-family:Segoe UI;
16+
font-family:Segoe UI, system-ui, sans-serif;
1717
position:absolute;
1818
z-index:20;
1919
margin-top:15px;
@@ -76,4 +76,4 @@
7676

7777
.dbgobject-inspector:not(.active) > .drop-down {
7878
display:none;
79-
}
79+
}

extensions/jsdbg/loading-indicator/loading-indicator.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@
5858
}
5959

6060
code {
61-
font-family:Consolas;
61+
font-family:Consolas, monospace;
6262
}
6363

6464
/* Z-ordering */
65-
#jsdbg-loading-indicator { z-index:200; }
65+
#jsdbg-loading-indicator { z-index:200; }

extensions/jsdbg/styles/common.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
--------------------------------------------------------------*/
88

99
:root {
10-
font-family:Segoe UI;
10+
font-family:Segoe UI, system-ui, sans-serif;
1111
font-size:10pt;
1212
}
1313

@@ -75,4 +75,4 @@ button.small-button.light:hover {
7575

7676
.popup-message.error::before {
7777
border-bottom-color:#f44;
78-
}
78+
}

extensions/tree-drawing/talltree.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
}
1414

1515
.tall-node-container .node {
16-
font-family:Consolas;
16+
font-family:Consolas, monospace;
1717
font-size:9pt;
1818
margin-left:2em;
1919
position:relative;
@@ -56,4 +56,4 @@
5656

5757
.tall-node-container .node > :first-child:hover {
5858
background:#eee;
59-
}
59+
}

extensions/tree-inspector/field-selector/field-selector.css

+2-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
.field-selection .type-name::before {
5050
content:"v";
51-
font-family:Consolas;
51+
font-family:Consolas, monospace;
5252
margin-right:5px;
5353
}
5454

@@ -71,4 +71,4 @@
7171
input.small-input {
7272
font-size:8pt;
7373
margin-right:0.3em;
74-
}
74+
}

0 commit comments

Comments
 (0)