Mercurial > kallithea
changeset 7263:6e65c2153baa
style: use monospace on all multi-line form inputs
Multi-line form input (textarea) is used for PR comments, PR descriptions,
repository descriptions and 'HTML/CSS/Javascript customization block'.
In the first three cases, the rendered result is displayed in monospace, so
the corresponding textarea should be as well.
As the expected content of the HTML/CSS/Javascript block is code, it makes
perfect sense to use monospace there too.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sun, 06 May 2018 14:34:33 +0200 |
parents | 25f7d871ea04 |
children | 760e65b33a2b |
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 Sun May 06 14:35:36 2018 +0200 +++ b/kallithea/public/less/style.less Sun May 06 14:34:33 2018 +0200 @@ -194,6 +194,7 @@ /* textareas should be at least 100px high and 400px wide */ textarea.form-control { + font-family: @font-family-monospace; min-height: 100px; min-width: 400px; }