Skip to content

Commit

Permalink
fix antd styles (#1181)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkmice authored Mar 25, 2021
1 parent ab3856d commit 2083b01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions packages/antd/src/array-table/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
td {
visibility: visible;

.@{ant-prefix}-formily-item {
.@{ant-prefix}-formily-item:not(.@{ant-prefix}-formily-item-feedback-layout-popover) {
margin-bottom: 0 !important;

.@{ant-prefix}-formily-item-help {
Expand All @@ -43,4 +43,4 @@
border: 1px solid #eee;
z-index: 10;
}
}
}
8 changes: 4 additions & 4 deletions packages/antd/src/form-item/style.less
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@
}

.@{form-item-cls}-label-align-left {
.@{form-item-cls}-label {
> .@{form-item-cls}-label {
justify-content: flex-start;
}
}

.@{form-item-cls}-label-align-right {
.@{form-item-cls}-label {
> .@{form-item-cls}-label {
justify-content: flex-end;
}
}
Expand Down Expand Up @@ -347,7 +347,7 @@
.@{form-item-cls}-label * {
line-height: @height-base - 10 !important;
}

.@{form-item-cls}-label-content {
min-height: @height-base - 10 !important;
}
Expand Down Expand Up @@ -607,4 +607,4 @@
border-right-width: 1px !important;
outline: 0;
}
}
}

0 comments on commit 2083b01

Please sign in to comment.