Commit fb74d4a9489ebfa55d638cd34005338c3fc4f965

Authored by Dmitriy Zaporozhets
2 parents af0b59d4 78261b4a

Merge branch 'request/monospace_gfm_input' into 'master'

Use monospace fonts for GFM inputs

This is an MR for [this feedback suggestion](http://feedback.gitlab.com/forums/176466-general/suggestions/5593468-use-monospace-font-in-wiki-edit-content-textarea).

I'm not sure exactly where the best place for the fix is, but I opted for the typography.scss file.  Basically, all ``textarea.js-gfm-input`` elements are styled with ``font-family: $monospace_font;``.

*PS: this being my first MR to gitlab, I apologize if I missed any steps in the process; let me know what's missing and I'll correct it here & in future MRs*
app/assets/stylesheets/generic/typography.scss
@@ -120,3 +120,11 @@ a:focus { @@ -120,3 +120,11 @@ a:focus {
120 .md { 120 .md {
121 @include md-typography; 121 @include md-typography;
122 } 122 }
  123 +
  124 +/**
  125 + * Textareas intended for GFM
  126 + *
  127 + */
  128 +textarea.js-gfm-input {
  129 + font-family: $monospace_font;
  130 +}