summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTakuya Noguchi <takninnovationresearch@gmail.com>2018-05-31 00:30:25 +0900
committerTakuya Noguchi <takninnovationresearch@gmail.com>2018-05-31 00:42:00 +0900
commit045e4a9792ef7d658969b8d96551cc14b4495718 (patch)
tree980989ba3bbf920c9ac338057c4c70a9cfb2402d /lib
parenta6b828ca0c7ce580f684ad3a7a772f76c3a93bc9 (diff)
downloadgitlab-ce-045e4a9792ef7d658969b8d96551cc14b4495718.tar.gz
Fix UI broken in line profiling modal due to Bootstrap 4
Diffstat (limited to 'lib')
-rw-r--r--lib/peek/rblineprof/custom_controller_helpers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/peek/rblineprof/custom_controller_helpers.rb b/lib/peek/rblineprof/custom_controller_helpers.rb
index 7cfe76b7b71..da24a36603e 100644
--- a/lib/peek/rblineprof/custom_controller_helpers.rb
+++ b/lib/peek/rblineprof/custom_controller_helpers.rb
@@ -41,10 +41,10 @@ module Peek
]
end.sort_by{ |a,b,c,d,e,f| -f }
- output = "<div class='modal-dialog modal-full'><div class='modal-content'>"
+ output = "<div class='modal-dialog modal-lg'><div class='modal-content'>"
output << "<div class='modal-header'>"
- output << "<button class='close btn btn-link btn-sm' type='button' data-dismiss='modal'>X</button>"
output << "<h4>Line profiling: #{human_description(params[:lineprofiler])}</h4>"
+ output << "<button class='close' type='button' data-dismiss='modal' aria-label='close'><span aria-hidden='true'>&times;</span></button>"
output << "</div>"
output << "<div class='modal-body'>"