Skip to content

Commit

Permalink
fix(next): fix form-item inset box-shadow
Browse files Browse the repository at this point in the history
  • Loading branch information
janryWang committed Apr 7, 2021
1 parent 4f2a897 commit d3f0945
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/next/src/form-item/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
padding: 0 8px;
border-radius: $form-element-large-corner;
width: 100%;

.#{$css-prefix}input {
border: none !important;
box-shadow: none !important;
Expand All @@ -42,7 +43,8 @@

&-bordered-none:not(.#{$form-item-cls}-inset) {
.#{$css-prefix}input {
border: none;
border: none !important;
box-shadow: none !important;
outline: none;
}
}
Expand Down Expand Up @@ -129,6 +131,9 @@

.#{$css-prefix}input {
height: 100%;
border: none !important;
box-shadow: none !important;
outline: none;
}
}
}
Expand Down

0 comments on commit d3f0945

Please sign in to comment.