调整样式,去除 hidden 样式

This commit is contained in:
Anyon 2020-12-16 15:47:20 +08:00
parent 32b1f3f57f
commit bc663707fc
5 changed files with 21 additions and 4 deletions

3
package-lock.json generated Normal file
View File

@ -0,0 +1,3 @@
{
"lockfileVersion": 1
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,6 @@
> .layui-body {
top: 50px;
bottom: 0;
overflow: auto;
> .layui-card {
overflow: visible;

View File

@ -15,10 +15,25 @@ fieldset {
}
.layui-tab, .layui-card {
overflow: hidden;
border-radius: @borderRadius;
}
.layui-tab {
.layui-tab-title {
border-top-left-radius: @borderRadius;
border-top-right-radius: @borderRadius;
> li:first-child {
border-top-left-radius: @borderRadius;
}
}
.layui-tab-content {
border-bottom-left-radius: @borderRadius;
border-bottom-right-radius: @borderRadius;
}
}
.layui-tab {
> .layui-tab-content {
padding: 20px;