更新样式:调整bootstrap-sweetalert样式适合中文显示

This commit is contained in:
Argo-Surface 2018-11-22 14:50:04 +08:00
parent 368f6b2ce9
commit 8f71cd0d2d
2 changed files with 13 additions and 1 deletions

View File

@ -345,3 +345,14 @@ input.pending {
top: 22px;
right: 17px;
}
.sweet-alert h2 {
margin-top: 32px;
margin-bottom: 16px;
font-size: 1.5rem;
}
.sweet-alert .sa-button-container .btn-lg {
padding: 0.375rem 1.5rem;
font-size: 1rem;
}

View File

@ -132,7 +132,8 @@
}
else {
swal({
title: "您确定要删除吗?",
title: "删除数据",
text: "您确定要删除选中的所有数据吗",
type: "warning",
showCancelButton: true,
cancelButtonClass: 'btn-secondary',