Skip to content

Commit

Permalink
fix(sbb-form-field): fix textarea bottom padding (#2997)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB authored Aug 13, 2024
1 parent 5e6e3db commit 1540f46
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/elements/form-field/form-field/form-field.scss
Original file line number Diff line number Diff line change
Expand Up @@ -353,6 +353,10 @@
@include sbb.ellipsis;
}

.sbb-form-field__input {
display: flex;
}

// Input

.sbb-form-field__input ::slotted(:where(input, select, textarea, sbb-select)) {
Expand Down Expand Up @@ -421,6 +425,10 @@
min-height: calc((var(--sbb-typo-line-height-body-text) * 1em));
}

:host([size='l']) & {
padding-block-end: #{sbb.px-to-rem-build(5.5)};
}

:host([negative]) & {
@include sbb.scrollbar($negative: true);
}
Expand Down

0 comments on commit 1540f46

Please sign in to comment.