1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-06 09:20:43 +01:00

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

View File

@ -25,7 +25,8 @@
$analytics.eventTrack('Print Recovery Code'); $analytics.eventTrack('Print Recovery Code');
var w = window.open(); var w = window.open();
w.document.write('<div style="font-size: 18px; text-align: center;"><p>bitwarden two-step login recovery code:</p>' + 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.print();
w.close(); w.close();
}; };