Skip to content

Commit 4045c14

Browse files
committed
fix(uui-input): make the inner input follow the height of the custom element and add a variable to control it
1 parent e4e3ffd commit 4045c14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/uui-input/lib/uui-input.element.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ export class UUIInputElement extends FormControlMixin(
321321
position: relative;
322322
display: inline-flex;
323323
align-items: stretch;
324-
height: var(--uui-size-11);
324+
height: var(--uui-input-height, var(--uui-size-11));
325325
text-align: left;
326326
box-sizing: border-box;
327327
background-color: var(
@@ -425,6 +425,7 @@ export class UUIInputElement extends FormControlMixin(
425425
border: none;
426426
background: none;
427427
width: 100%;
428+
height: inherit;
428429
text-align: inherit;
429430
outline: none;
430431
}

0 commit comments

Comments
 (0)