修改BUG:增加Modal-lg样式

This commit is contained in:
Argo-MacBookPro 2018-08-04 15:35:52 +08:00
parent cef69ba098
commit 764ff47a02
6 changed files with 12 additions and 6 deletions

View File

@ -1,5 +1,5 @@
<div class="modal fade" id="dialogGroup" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myGroupModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myGroupModalLabel">部门授权窗口</h5>

View File

@ -1,5 +1,5 @@
<div class="modal fade" id="dialogMenu" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myMenuModalLabel" aria-hidden="true">
<div id="dialogSubMenu" class="modal-dialog modal-dialog-centered" role="document">
<div id="dialogSubMenu" class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myMenuModalLabel">请选择菜单</h5>

View File

@ -1,5 +1,5 @@
<div class="modal fade" id="dialogRole" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myRoleModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myRoleModalLabel">角色授权窗口</h5>

View File

@ -1,5 +1,5 @@
<div class="modal fade" id="dialogUser" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myUserModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="myUserModalLabel">用户授权窗口</h5>

View File

@ -29,7 +29,7 @@
}
@section modal {
<div class="modal fade" id="dialogNew" tabindex="-1" role="dialog" data-backdrop="static" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-dialog modal-dialog-centered modal-lg" role="document">
<div class="modal-content" data-toggle="LgbValidate" data-valid-button="#btnSubmit" data-valid-modal="#dialogNew">
@RenderSection("modal", false)
<div class="modal-footer">

View File

@ -10,7 +10,7 @@
padding-bottom: 5px;
}
.modal-dialog {
.modal-lg {
max-width: calc(90%);
}
}
@ -46,6 +46,12 @@
}
}
@media (min-width: 992px) {
.modal-lg {
max-width: 900px;
}
}
@media (min-height: 672px) {
html, body {
height: 100%;