Switch to Roboto Mono

This commit is contained in:
Ken-Håvard Lieng 2016-01-22 20:08:16 +01:00
parent 26ce1cae93
commit bd6c0d26eb
4 changed files with 15 additions and 15 deletions

File diff suppressed because one or more lines are too long

View File

@ -5,7 +5,7 @@
} }
body { body {
font-family: Droid Sans Mono, monospace; font-family: Roboto Mono, monospace;
background: #f0f0f0; background: #f0f0f0;
} }
@ -19,7 +19,7 @@ h1 {
} }
input { input {
font: 16px Droid Sans Mono, monospace; font: 16px Roboto Mono, monospace;
border: none; border: none;
outline: none; outline: none;
} }

View File

@ -6,7 +6,7 @@
<title>Dispatch</title> <title>Dispatch</title>
<link href="https://fonts.googleapis.com/css?family=Droid+Sans+Mono|Montserrat:400,700" rel="stylesheet"> <link href="https://fonts.googleapis.com/css?family=Montserrat:400,700|Roboto+Mono:400,700" rel="stylesheet">
<link href="/bundle.css" rel="stylesheet"> <link href="/bundle.css" rel="stylesheet">
</head> </head>
<body> <body>

View File

@ -31,7 +31,7 @@ function updateSelected({ params, dispatch }) {
} }
function updateCharWidth() { function updateCharWidth() {
const charWidth = stringWidth(' ', '16px Droid Sans Mono'); const charWidth = stringWidth(' ', '16px Roboto Mono');
window.messageIndent = 6 * charWidth; window.messageIndent = 6 * charWidth;
return setCharWidth(charWidth); return setCharWidth(charWidth);
} }