summaryrefslogtreecommitdiff
path: root/lib/gitlab/ci/ansi2html.rb
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-08-09 11:53:22 +0100
committerFilipa Lacerda <filipa@gitlab.com>2019-08-12 17:24:42 +0100
commit3e2f2b807148c9dce1f7cc56ec902cf60bc9029c (patch)
tree8036e7368522b6c53377f98dfe33861089e65ee1 /lib/gitlab/ci/ansi2html.rb
parentc85cbc08f7fc43819f7569b7686ee22ce747e7b3 (diff)
downloadgitlab-ce-3e2f2b807148c9dce1f7cc56ec902cf60bc9029c.tar.gz
Adds highlight to collapsible line
In the job log adds a highlight when hovering the collapsible line
Diffstat (limited to 'lib/gitlab/ci/ansi2html.rb')
-rw-r--r--lib/gitlab/ci/ansi2html.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/ci/ansi2html.rb b/lib/gitlab/ci/ansi2html.rb
index 382b8896dbd..b7886114e9c 100644
--- a/lib/gitlab/ci/ansi2html.rb
+++ b/lib/gitlab/ci/ansi2html.rb
@@ -218,7 +218,7 @@ module Gitlab
return if @sections.include?(section)
@sections << section
- write_raw %{<div class="js-section-start fa fa-caret-down pr-2 cursor-pointer" data-timestamp="#{timestamp}" data-section="#{data_section_names}" role="button"></div>}
+ write_raw %{<div class="js-section-start section-start fa fa-caret-down pr-2 cursor-pointer" data-timestamp="#{timestamp}" data-section="#{data_section_names}" role="button"></div>}
@lineno_in_section = 0
end