use better monospace font for code

This commit is contained in:
Kyle Spearrin 2017-07-14 22:31:53 -04:00
parent c40193c861
commit d2da3f6e00
1 changed files with 2 additions and 1 deletions

View File

@ -25,7 +25,8 @@
$analytics.eventTrack('Print Recovery Code');
var w = window.open();
w.document.write('<div style="font-size: 18px; text-align: center;"><p>bitwarden two-step login recovery code:</p>' +
'<pre>' + $scope.code + '</pre></div><p style="text-align: center;">' + new Date() + '</p>');
'<code style="font-family: Menlo, Monaco, Consolas, \'Courier New\', monospace;">' + $scope.code + '</code>' +
'</div><p style="text-align: center;">' + new Date() + '</p>');
w.print();
w.close();
};