diff options
author | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-08 09:04:29 +0000 |
---|---|---|
committer | Kushal Pandya <kushalspandya@gmail.com> | 2019-08-08 09:04:29 +0000 |
commit | 8505049e1f2510642715d9bfd56fc022cd42caf0 (patch) | |
tree | a682a7e14c74a90ff723141c1a7c9abf79ca5cc1 /lib | |
parent | 400da76d5e6db4c9ea8180d20366e04dc4f36651 (diff) | |
parent | 85e0eb472dc33ae561c4b04b498c61f91fb7aa3e (diff) | |
download | gitlab-ce-8505049e1f2510642715d9bfd56fc022cd42caf0.tar.gz |
Merge branch '63181-collapsible-line' into 'master'
Makes section title clickable and collapsible
Closes #63181
See merge request gitlab-org/gitlab-ce!31571
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/ci/ansi2html.rb | 4 |
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 |