mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-17 09:24:17 +09:00
fix #649 admin 페이지에서 modal의 버튼이 가려져 선택할 수 없는 문제 해결
- modal의 높이를 화면 크기를 고려하여 조정하도록 개선
This commit is contained in:
parent
942ff891ed
commit
57987aa904
1 changed files with 9 additions and 0 deletions
|
|
@ -422,6 +422,15 @@ jQuery(function($){
|
|||
var zIndex = xeModalInitailZIndex + ((xeModalStack.length - 1) * 2);
|
||||
|
||||
$xeModalBackdrop.css('z-index', zIndex).show();
|
||||
var xeModalBackdropHeight = $xeModalBackdrop.height();
|
||||
var modalBodyHeight = xeModalBackdropHeight;
|
||||
modalBodyHeight -= $modal.find('.x_modal-header:visible').height();
|
||||
modalBodyHeight -= $modal.find('.x_modal-footer:visible').height();
|
||||
modalBodyHeight -= $modal.offset().top;
|
||||
modalBodyHeight -= 120;
|
||||
|
||||
$modal.find('.x_modal-body').css('height', modalBodyHeight);
|
||||
|
||||
$modal.css('z-index', zIndex + 1);
|
||||
})
|
||||
.bind('close.mw', function(){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue