Skip to content

Commit 83e24a8

Browse files
committed
Use monospace font for settings
1 parent 69595cc commit 83e24a8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/utils/settings.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
const settings = (() => {
2+
$('head').append(`<style type="text/css">.mono .modal-body { font-family: monospace; }</style>`);
23
const settingReg = {
34
// key: setting
45
};
@@ -145,6 +146,7 @@ const settings = (() => {
145146
BootstrapDialog.show({
146147
title: `UnderScript Configuration${page !== 'main' ? `: ${displayName}` : ''}`,
147148
message: getMessage,
149+
cssClass: 'mono',
148150
data: { page },
149151
buttons: buttons(page),
150152
onshown: (diag) => {

0 commit comments

Comments
 (0)