Skip to content

Commit

Permalink
fix: ignore padding when calculating content height (#8130)
Browse files Browse the repository at this point in the history
* fix: ignore padding when calculating content height

* update custom field visual test

* fix using box-sizing
  • Loading branch information
sissbruecker authored Nov 12, 2024
1 parent 25cd53b commit c5d5afa
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/text-area/src/vaadin-text-area-styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const textAreaStyles = css`
[part='input-field'] ::slotted(textarea) {
align-self: stretch;
white-space: pre-wrap;
box-sizing: border-box;
}
[part='input-field'] ::slotted(:not(textarea)) {
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c5d5afa

Please sign in to comment.