mirror of
https://gitee.com/LongbowEnterprise/BootstrapBlazor.git
synced 2024-11-30 02:58:37 +08:00
!2609 feat(#I50WSD): update style for scrolling modal body
* chore: bump version 6.4.13 * style: 适配弹窗内部滚动样式
This commit is contained in:
parent
ff17c44363
commit
2339c956cf
@ -1,7 +1,7 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Razor">
|
||||
|
||||
<PropertyGroup>
|
||||
<Version>6.4.12</Version>
|
||||
<Version>6.4.13</Version>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup Condition="'$(TargetFramework)' == 'net5.0'">
|
||||
|
@ -745,23 +745,10 @@ form .table .table-cell > textarea {
|
||||
border-radius: 0.25rem;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
.form-footer {
|
||||
margin-top: .5rem;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body > form {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body .form-body {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.modal-body .form-footer {
|
||||
margin: 1rem -1rem 0 -1rem;
|
||||
padding: 1rem 1rem 0 1rem;
|
||||
@ -772,3 +759,27 @@ form .table .table-cell > textarea {
|
||||
.modal-body .form-footer button:not(:last-child) {
|
||||
margin-right: .25rem;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body > form {
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
margin: -1rem;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body .form-body {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.modal-dialog-table.modal-dialog-scrollable .modal-body .form-footer {
|
||||
margin: 0;
|
||||
padding: 1rem;
|
||||
}
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user