OSDN Git Service

fixed form input overflow on 1024px res
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Tue, 19 Mar 2013 06:39:26 +0000 (08:39 +0200)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Tue, 19 Mar 2013 06:39:26 +0000 (08:39 +0200)
app/views/projects/_form.html.haml

index 3e82f52..1267e16 100644 (file)
@@ -26,7 +26,7 @@
                   = f.label :name do
                     Project name is
                   .input
-                    = f.text_field :name, placeholder: "Example Project", class: "xxlarge"
+                    = f.text_field :name, placeholder: "Example Project", class: "span5"
 
 
                 - unless @repository.heads.empty?
@@ -39,7 +39,7 @@
                     Project description
                     %span.light (optional)
                   .input
-                    = f.text_area :description, placeholder: "awesome project", class: "xxlarge", rows: 3, maxlength: 250
+                    = f.text_area :description, placeholder: "awesome project", class: "span5", rows: 3, maxlength: 250
 
 
               - if can?(current_user, :change_public_mode, @project)