Fix UI broken in line profiling modal due to Bootstrap 4
This commit is contained in:
parent
a6b828ca0c
commit
045e4a9792
3 changed files with 7 additions and 8 deletions
|
@ -74,12 +74,6 @@ body.modal-open {
|
|||
}
|
||||
}
|
||||
|
||||
@include media-breakpoint-up(lg) {
|
||||
.modal-full {
|
||||
width: 98%;
|
||||
}
|
||||
}
|
||||
|
||||
.modal {
|
||||
background-color: $black-transparent;
|
||||
z-index: 2100;
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
title: Fix UI broken in line profiling modal due to Bootstrap 4
|
||||
merge_request: 19253
|
||||
author: Takuya Noguchi
|
||||
type: other
|
|
@ -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'>×</span></button>"
|
||||
output << "</div>"
|
||||
output << "<div class='modal-body'>"
|
||||
|
||||
|
|
Loading…
Reference in a new issue