diff options
| author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-26 08:32:06 +0000 |
|---|---|---|
| committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-03-26 08:32:06 +0000 |
| commit | fb74d4a9489ebfa55d638cd34005338c3fc4f965 (patch) | |
| tree | 383e9a5510bbf3db0af611ef8572075f00ac834a /app/assets | |
| parent | af0b59d477f7a9c314e17d3ceaf994f9cf5c4655 (diff) | |
| parent | 78261b4aad4ceed5b3b11e761436313b1cac3bfe (diff) | |
| download | gitlab-ce-fb74d4a9489ebfa55d638cd34005338c3fc4f965.tar.gz | |
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*
Diffstat (limited to 'app/assets')
| -rw-r--r-- | app/assets/stylesheets/generic/typography.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/assets/stylesheets/generic/typography.scss b/app/assets/stylesheets/generic/typography.scss index 3a31e28e0ac..bca0b12ab62 100644 --- a/app/assets/stylesheets/generic/typography.scss +++ b/app/assets/stylesheets/generic/typography.scss @@ -120,3 +120,11 @@ a:focus { .md { @include md-typography; } + +/** + * Textareas intended for GFM + * + */ +textarea.js-gfm-input { + font-family: $monospace_font; +} |
