Skip to content

Commit

Permalink
fix(VaInputWrapper): fix inner label height(#3950) (#4203)
Browse files Browse the repository at this point in the history
* fix(VaInputWrapper): fix the height inconsistency between inner label and outer label modes' inputs(#3950)

* chore(input): prevent extra specific selector in inner-labeled input height

---------

Co-authored-by: Maksim Nedoshev <m0ksem1337@gmail.com>
  • Loading branch information
gweesin and m0ksem authored Apr 30, 2024
1 parent 8c51c9c commit 6d3d8e9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,10 @@ export default defineComponent({
box-sizing: content-box;
}
.va-input-wrapper__field {
height: calc(var(--va-input-wrapper-min-height) - calc(var(--va-input-wrapper-border-width) * 2));
}
textarea {
margin-top: 0;
}
Expand Down

0 comments on commit 6d3d8e9

Please sign in to comment.