Skip to content

Commit 7b67b7c

Browse files
committed
Formula correction (padding change related)
1 parent 16c8adc commit 7b67b7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/components/textarea/textarea.ionic.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@
6969
* the browser's default line-height: normal (~1.2 × font-size).
7070
* - (var(--number-rows) + 0.5): Show the requested rows plus a half-line peek
7171
* at the next row, hinting that the textarea is scrollable.
72-
* - var(--padding-top), var(--padding-bottom), var(--border-width): Account for
72+
* - var(--padding-top), var(--border-width): Account for
7373
* box-sizing: border-box, which includes padding and border in min-height.
7474
*/
7575
$textarea-row-line-height: 1.2em;
7676

7777
min-height: calc(
78-
var(--number-rows) * #{$textarea-row-line-height} + var(--padding-top, 0px) + var(--padding-bottom, 0px) + var(--border-width, 0px)
78+
var(--number-rows) * #{$textarea-row-line-height} + var(--padding-top, 0px) + var(--border-width, 0px)
7979
);
8080
}
8181

0 commit comments

Comments
 (0)