Permalink
Browse files

Fixed firefox css bug with issues table

  • Loading branch information...
1 parent 058b71e commit e8261313a71fb69adeedc15e15fb572282ceaf06 @dzaporozhets dzaporozhets committed Jul 28, 2012
Showing with 42 additions and 15 deletions.
  1. +32 −6 app/assets/stylesheets/sections/issues.scss
  2. +3 −2 app/views/issues/_show.html.haml
  3. +7 −7 app/views/issues/index.html.haml
@@ -51,25 +51,51 @@
input.check_all_issues {
float:left;
- padding: 8px 0;
- margin: 14px 0;
+ padding: 0;
+ margin:0;
margin-right: 10px;
+ position: relative;
+ top: 8px;
+ height: 22px;
+}
+
+.issues_content {
+ .title {
+ height: 40px;
+ }
}
#issues-table-holder {
+ .issues_filters {
+ form {
+ padding:0;
+ margin:0;
+ margin-top:7px
+ }
+ }
+
.issues_bulk_update {
- padding: 0 5px;
margin: 0;
form {
+ padding:0;
margin:0;
- padding-bottom:5px;
+ margin-top:7px
}
.update_selected_issues {
position:relative;
top:-2px;
- margin-left:3px;
+ margin-left:4px;
+ float:left;
}
-
+ .update_issues_text {
+ padding:3px;
+ line-height: 18px;
+ float:left;
+ }
}
}
+
+#update_status {
+ width:100px;
+}
@@ -1,6 +1,7 @@
%li.wll{ :id => dom_id(issue), :class => issue_css_classes(issue), :url => project_issue_path(issue.project, issue) }
- .issue_check
- = check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, :class => "selected_issue", :disabled => !can?(current_user, :modify_issue, issue)
+ - if controller.controller_name == 'issues'
+ .issue_check
+ = check_box_tag dom_id(issue,"selected"), nil, false, 'data-id' => issue.id, :class => "selected_issue", :disabled => !can?(current_user, :modify_issue, issue)
.right
- issue.labels.each do |label|
%span.label.label-issue.grouped
@@ -22,13 +22,13 @@
.issues_bulk_update.hide
= form_tag bulk_update_project_issues_path(@project), :method => :post do
- %span Update selected issues with
-  
- = select_tag('update[status]', options_for_select(['open', 'closed']), :prompt => "Status")
- = select_tag('update[assignee_id]', options_from_collection_for_select(@project.users.all, "id", "name", params[:assignee_id]), :prompt => "Assignee")
- = select_tag('update[milestone_id]', options_from_collection_for_select(@project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), :prompt => "Milestone")
- = hidden_field_tag 'update[issues_ids]', []
- = hidden_field_tag :f, params[:f]
+ %span.update_issues_text Update selected issues with  
+ .left
+ = select_tag('update[status]', options_for_select(['open', 'closed']), :prompt => "Status")
+ = select_tag('update[assignee_id]', options_from_collection_for_select(@project.users.all, "id", "name", params[:assignee_id]), :prompt => "Assignee")
+ = select_tag('update[milestone_id]', options_from_collection_for_select(@project.milestones.order("id desc").all, "id", "title", params[:milestone_id]), :prompt => "Milestone")
+ = hidden_field_tag 'update[issues_ids]', []
+ = hidden_field_tag :f, params[:f]
= button_tag "Save", :class => "btn update_selected_issues"
.issues_filters
.left

0 comments on commit e826131

Please sign in to comment.