Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2019-08-06 19:11:13 +0300
committerFilipa Lacerda <filipa@gitlab.com>2019-08-07 18:42:17 +0300
commit85e0eb472dc33ae561c4b04b498c61f91fb7aa3e (patch)
tree6a0275744ff9c679e7a51cbf18b7edaa6cd1ea5b /lib/gitlab
parent4aa824e7059889c7b8badb4bd43cc44f9a01201f (diff)
Makes title section collapsible
In the job log, if the user clicks the section title the job log section will be collapsed
Diffstat (limited to 'lib/gitlab')
-rw-r--r--lib/gitlab/ci/ansi2html.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/gitlab/ci/ansi2html.rb b/lib/gitlab/ci/ansi2html.rb
index 7e348763e81..382b8896dbd 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 append-right-8 cursor-pointer" data-timestamp="#{timestamp}" data-section="#{data_section_names}" role="button"></div>}
+ 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>}
@lineno_in_section = 0
end
@@ -306,7 +306,7 @@ module Gitlab
css_classes << "section"
css_classes << if @lineno_in_section == 0
- "js-section-header section-header"
+ "js-section-header section-header cursor-pointer"
else
"line"
end