浏览代码

fix issues modal-dialog pushes html content to the left

Kaoru FUZITA 9 年之前
父节点
当前提交
7acdcb05ef
共有 2 个文件被更改,包括 6 次插入2 次删除
  1. 4 0
      src/main/webapp/css/style.css
  2. 2 2
      src/main/webapp/js/bootstrap.js

+ 4 - 0
src/main/webapp/css/style.css

@@ -44,6 +44,10 @@ h3 {
 	text-align: center;
 	text-align: center;
 }
 }
 
 
+.modal-open {
+	overflow: auto;
+}
+
 h1.mainLogo {
 h1.mainLogo {
 	margin-bottom: 1em;
 	margin-bottom: 1em;
 }
 }

+ 2 - 2
src/main/webapp/js/bootstrap.js

@@ -1756,8 +1756,8 @@ var Modal = (function ($) {
 
 
         this._isShown = true;
         this._isShown = true;
 
 
-        this._checkScrollbar();
-        this._setScrollbar();
+//        this._checkScrollbar();
+//        this._setScrollbar();
 
 
         $(document.body).addClass(ClassName.OPEN);
         $(document.body).addClass(ClassName.OPEN);