Fix filter label tooltip HTML rendering
This commit is contained in:
parent
4e457100cf
commit
5b51503017
|
@ -10,6 +10,7 @@ v 8.11.0 (unreleased)
|
|||
- Add support for relative links starting with ./ or / to RelativeLinkFilter (winniehell)
|
||||
- Fix CI status icon link underline (ClemMakesApps)
|
||||
- The Repository class is now instrumented
|
||||
- Fix filter label tooltip HTML rendering (ClemMakesApps)
|
||||
- Cache the commit author in RequestStore to avoid extra lookups in PostReceive
|
||||
- Expand commit message width in repo view (ClemMakesApps)
|
||||
- Cache highlighted diff lines for merge requests
|
||||
|
|
|
@ -182,6 +182,17 @@
|
|||
.btn {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
a.btn {
|
||||
padding: 0;
|
||||
|
||||
.has-tooltip {
|
||||
top: 0;
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
line-height: 1.1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.label-options-toggle {
|
||||
|
|
|
@ -1,9 +1,5 @@
|
|||
- labels.each do |label|
|
||||
%span.label-row.btn-group{ role: "group", aria: { label: label.name }, style: "color: #{text_color_for_bg(label.color)}" }
|
||||
= link_to label.name, label_filter_path(@project, label, type: controller.controller_name),
|
||||
class: "btn btn-transparent has-tooltip",
|
||||
style: "background-color: #{label.color};",
|
||||
title: escape_once(label.description),
|
||||
data: { container: "body" }
|
||||
= link_to_label(label, css_class: 'btn btn-transparent')
|
||||
%button.btn.btn-transparent.label-remove.js-label-filter-remove{ type: "button", style: "background-color: #{label.color};", data: { label: label.title } }
|
||||
= icon("times")
|
||||
|
|
Loading…
Reference in New Issue