Skip to content

Commit

Permalink
fix: excess padding on textarea (#2488)
Browse files Browse the repository at this point in the history
  • Loading branch information
JessChowdhury authored Apr 13, 2023
1 parent b9a5bb3 commit 6ceb791
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/admin/components/forms/field-types/Textarea/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
.field-type.textarea {
position: relative;
margin-bottom: $baseline;
padding-bottom: base(2.5);
display: flex;
flex-direction: column;

.textarea-outer {
@include formInput();
Expand All @@ -14,7 +15,7 @@

// Scrollbar for giant content
max-height: calc(100vh - $top-header-offset - calc(#{base(5)}));
overflow: auto;
overflow: hidden;

@include mid-break {
max-height: 60vh;
Expand Down

0 comments on commit 6ceb791

Please sign in to comment.