Skip to content
This repository has been archived by the owner on Nov 10, 2017. It is now read-only.

Commit

Permalink
Merge pull request #214 from tojonmz/job-wrap-firefox
Browse files Browse the repository at this point in the history
Bug 1067486 - Fix unwanted job wrap when space is available
  • Loading branch information
camd committed Oct 1, 2014
2 parents c88d7f6 + 1cca818 commit 63a39a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 2 additions & 1 deletion webapp/app/css/treeherder.css
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ th-watched-repo {
.job-btn {
padding: 0 2px 0 2px;
vertical-align: 0;
line-height: 1.32;
}

.table-super-condensed thead > tr > th,
Expand Down Expand Up @@ -914,7 +915,7 @@ ul.failure-summary-list li .btn-xs {
.job-btn.btn-red,
.job-btn.btn-orange,
.job-btn.btn-purple {
margin: 0 -3px 0 0;
margin: 0 -3px 1px 0;
}

.btn-view-nav {
Expand Down
2 changes: 0 additions & 2 deletions webapp/app/js/directives/clonejobs.js
Original file line number Diff line number Diff line change
Expand Up @@ -600,14 +600,12 @@ treeherder.directive('thCloneJobs', [
};
var showHideJob = function(job, show) {
// Note: I was using
// jobEl.style.display = "inline";
// jobEl.className += " filter-shown";
// but that didn't work reliably with the jquery selectors
// when it came to hiding/showing platforms and groups. Jquery
// couldn't detect that I'd added or removed ``filter-shown`` in
// all cases. So, while this is a bit slower, it's reliable.
if (show) {
job.css("display", "inline");
job.addClass("filter-shown");
} else {
job.css("display", "none");
Expand Down

0 comments on commit 63a39a2

Please sign in to comment.