Skip to content

Commit

Permalink
Merge pull request #14082 from hellcp-work/dropdown-z-index
Browse files Browse the repository at this point in the history
Correct the way the rpmlint header is rendered in the request
  • Loading branch information
hellcp-work committed Mar 30, 2023
2 parents a7cc5d5 + d1f330c commit d01b565
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion src/api/app/assets/stylesheets/webui/build-results.scss
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,10 @@
top: $top-navigation-height;
}

.rpm-lint-content .sticky-top { top: $top-navigation-height; }
.rpm-lint-content .sticky-top {
top: $top-navigation-height;
z-index: 900;
}

.toggle-build-info { cursor: pointer; }
.toggle-build-info-parent { z-index: 2; }
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#rpmlint-log{ data: { project: project.name, package: package.name } }
- unless repository_list.empty?
.row.row-cols-auto
= select_tag('rpmlint_repo_select', options_for_select(repository_list.sort),
class: 'form-select mb-3', onchange: 'updateRpmLintArchitectures()')
.row
.col-auto
= select_tag('rpmlint_repo_select', options_for_select(repository_list.sort),
class: 'form-select mb-3', onchange: 'updateRpmLintArchitectures()')
- repo_arch_hash.each do |repository, architectures|
= select_tag("rpmlint_arch_select_#{repository}", options_for_select(architectures.reverse),
class: 'rpmlint_arch_select form-select mb-3', onchange: 'updateRpmLintLog()')
.col-auto
= select_tag("rpmlint_arch_select_#{repository}", options_for_select(architectures.reverse),
class: 'rpmlint_arch_select form-select mb-3', onchange: 'updateRpmLintLog()')

:javascript
updateRpmLintArchitectures();

0 comments on commit d01b565

Please sign in to comment.