Skip to content

Commit

Permalink
fix input height
Browse files Browse the repository at this point in the history
  • Loading branch information
jsartisan committed Feb 18, 2025
1 parent 8422419 commit 4b653e4
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,6 @@
cursor: inherit;
}

.inputGroup:has([data-input-prefix]) .input {
padding-inline-start: 0;
}

.inputGroup:has([data-input-suffix]) .input {
padding-inline-end: 0;
}

.input:is(textarea) {
block-size: auto;
min-block-size: var(--sizing-16);
Expand Down Expand Up @@ -196,7 +188,7 @@
* SIZE
* ----------------------------------------------------------------------------
*/
.inputGroup .input {
.inputGroup .input:not(textarea) {
block-size: calc(
var(--body-line-height) + var(--body-margin-start) + var(--body-margin-end)
);
Expand All @@ -213,3 +205,11 @@
.inputGroup .input[data-size="large"] {
padding: var(--inner-spacing-3);
}

.inputGroup:has([data-input-prefix]) .input {
padding-inline-start: 0;
}

.inputGroup:has([data-input-suffix]) .input {
padding-inline-end: 0;
}

0 comments on commit 4b653e4

Please sign in to comment.