diff options
-rw-r--r-- | extensions/BugModal/web/bug_modal.css | 8 | ||||
-rw-r--r-- | js/global.js | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/extensions/BugModal/web/bug_modal.css b/extensions/BugModal/web/bug_modal.css index e3903ca03..4af850b99 100644 --- a/extensions/BugModal/web/bug_modal.css +++ b/extensions/BugModal/web/bug_modal.css @@ -598,7 +598,9 @@ h3.change-name { .comment-text { white-space: pre-wrap; - font: 13px/1.2 "Droid Sans Mono","Ubuntu Mono","Liberation Mono",Menlo,Monaco,"Fira Mono",monospace; + line-height: 1.2; + font-size: 13px; + font-family: "Droid Sans Mono",Menlo,Monaco,"Courier New",monospace; background: #fff; color: #222; margin: 1px 0 0 0; @@ -607,6 +609,10 @@ h3.change-name { border-top: 1px solid #ddd; } +body.platform-Win32 .comment-text, body.platform-Win64 .comment-text { + font-family: "Fira Mono", monospace; +} + .comment-text span.quote, .comment-text span.quote_wrapped { background: #eee !important; color: #444 !important; diff --git a/js/global.js b/js/global.js index 651d10241..04bc3fedf 100644 --- a/js/global.js +++ b/js/global.js @@ -19,6 +19,7 @@ var BUGZILLA = $('head').data('bugzilla'); $(function () { + $('body').addClass("platform-" + navigator.platform); $('.show_mini_login_form').on("click", function (event) { return show_mini_login_form($(this).data('qs-suffix')); }); @@ -190,4 +191,4 @@ $().ready(function() { $(window).on('pageshow', function(event) { $('.bz_autocomplete').attr('autocomplete', 'off'); }); -});
\ No newline at end of file +}); |