Skip to content

Commit

Permalink
Merge pull request #1636 from Smol-An/fix_comment_field
Browse files Browse the repository at this point in the history
[#1626] fix comment field resizing
  • Loading branch information
fey authored Jun 24, 2024
2 parents c6982b6 + c0ab333 commit 05c29b7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions resources/sass/_custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@
margin-right: 16px;
}
}

.x-min-h-100px {
min-height: 100px !important;
}
2 changes: 1 addition & 1 deletion resources/views/components/comment/_form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
{{ html()->hidden('commentable_type')->value(get_class($model)) }}
{{ html()->hidden('commentable_id')->value($model->id) }}
<div class="form-floating">
{{ html()->textarea('content')->class('form-control h-100')->required() }}
{{ html()->textarea('content')->class('form-control x-min-h-100px')->required() }}
<label for="content">{{ __('comment.enter_your_message') }}</label>
</div>
<div class="mt-3">
Expand Down

0 comments on commit 05c29b7

Please sign in to comment.