Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add monospace style for textarea

  • Loading branch information...
commit 26d3dc57aac7a0b39eb040b03bcf2395e4434123 1 parent 36d91c8
@hugomaiavieira authored
View
6 app/assets/stylesheets/application.css
@@ -25,6 +25,10 @@ code {
cursor: help;
}
+textarea.monospace {
+ font-family: monospace;
+ font-size: 12px;
+}
/* Twitter bootstrap overwrite */
@@ -392,8 +396,6 @@ ul.legends li {
color: #FFFFFF;
background-color: #339BB9;
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
-/* border: solid 1px #e6e6fa;*/
-/* background-color: #e5e5e5;*/
padding: 8px;
border-radius: 2px 2px 0 0;
}
View
2  app/views/comments/_form.html.slim
@@ -1,5 +1,5 @@
= simple_form_for [@project, @task, @comment] do |f|
- = f.input :content, :label => 'Add comment', :input_html => { :class => 'span8', :rows => 10 }, \
+ = f.input :content, :label => 'Add comment', :input_html => { :class => 'span8 monospace', :rows => 10 }, \
:hint => markdown_note('Tasks').html_safe
= hidden_field_tag "comment[contributor_id]", current_contributor.id
View
2  app/views/tasks/_form.html.slim
@@ -2,7 +2,7 @@
= f.input :title, :input_html => { :autofocus => true, :class => 'span8' }
- = f.input :description, :input_html => { :class => 'span8', :rows => 10 }, \
+ = f.input :description, :input_html => { :class => 'span8 monospace', :rows => 10 }, \
:hint => markdown_note('Tasks').html_safe
= f.input :points, :collection => Task::POINTS
Please sign in to comment.
Something went wrong with that request. Please try again.