summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarin Jankovski <marin@gitlab.com>2014-06-03 12:33:43 +0200
committerMarin Jankovski <marin@gitlab.com>2014-06-03 12:33:43 +0200
commitda37a251f9f6a794c696cbc6afc8b2b04443fbeb (patch)
tree1ebca3a56fcd1403608df439d06ef2b81c7ddddf
parentd2851b088313cd4c343acb28d61bd517740932b6 (diff)
downloadgitlab-ce-da37a251f9f6a794c696cbc6afc8b2b04443fbeb.tar.gz
Add ch width.
-rw-r--r--app/assets/stylesheets/generic/forms.scss1
-rw-r--r--app/views/shared/_commit_message_container.html.haml1
2 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/stylesheets/generic/forms.scss b/app/assets/stylesheets/generic/forms.scss
index 36551f85b6a..baa11336161 100644
--- a/app/assets/stylesheets/generic/forms.scss
+++ b/app/assets/stylesheets/generic/forms.scss
@@ -82,6 +82,7 @@ label {
font-family: $monospace_font;
$left: 12px;
.max-width-marker {
+ width: 72ch;
color: rgba(0, 0, 0, 0.0);
font-family: inherit;
left: $left;
diff --git a/app/views/shared/_commit_message_container.html.haml b/app/views/shared/_commit_message_container.html.haml
index 3be01478cbc..4365947e701 100644
--- a/app/views/shared/_commit_message_container.html.haml
+++ b/app/views/shared/_commit_message_container.html.haml
@@ -1,4 +1,3 @@
.commit-message-container
.max-width-marker
- -# When the `ch` CSS length unit becomes widely supported `http://www.quirksmode.org/css/units-values` remove this workaround.
= textarea