Skip to content

Commit

Permalink
[Hexlet#1626] fix comment field resizing
Browse files Browse the repository at this point in the history
  • Loading branch information
Smol-An committed Jun 18, 2024
1 parent f02ff45 commit 3d08364
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-100 {
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-100')->required() }}
<label for="content">{{ __('comment.enter_your_message') }}</label>
</div>
<div class="mt-3">
Expand Down

0 comments on commit 3d08364

Please sign in to comment.