Commit da37a251f9f6a794c696cbc6afc8b2b04443fbeb

Authored by Marin Jankovski
1 parent d2851b08

Add ch width.

app/assets/stylesheets/generic/forms.scss
... ... @@ -82,6 +82,7 @@ label {
82 82 font-family: $monospace_font;
83 83 $left: 12px;
84 84 .max-width-marker {
  85 + width: 72ch;
85 86 color: rgba(0, 0, 0, 0.0);
86 87 font-family: inherit;
87 88 left: $left;
... ...
app/views/shared/_commit_message_container.html.haml
1 1 .commit-message-container
2 2 .max-width-marker
3   - -# When the `ch` CSS length unit becomes widely supported `http://www.quirksmode.org/css/units-values` remove this workaround.
4 3 = textarea
... ...