changeset 7261:9005c37dbe21

style: use monospace for 'formatted-fixed' class The 'formatted-fixed' class is applied to PR comments, PR descriptions and repository descriptions. It already preserves whitespace via 'whitespace: pre-wrap', but the font is not monospace. As a result, diagrams or other ASCII art do not display well. Use monospace on this class to fix that.
author Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
date Sun, 06 May 2018 14:31:15 +0200
parents 52544ad8a946
children 25f7d871ea04
files kallithea/public/less/style.less
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/public/less/style.less	Fri May 04 21:45:55 2018 +0200
+++ b/kallithea/public/less/style.less	Sun May 06 14:31:15 2018 +0200
@@ -9,6 +9,7 @@
 
 /* class for texts where newlines should be preserved, for very light-weight ascii art markup (like pull request descriptions) */
 .formatted-fixed {
+  font-family: @font-family-monospace;
   white-space: pre-wrap;
 }