Skip to content

Commit

Permalink
Fixed bug: the 'Enter your message here (markdown supported)' placeho…
Browse files Browse the repository at this point in the history
…lder was going outside the div container boundaries. Closes #1630
  • Loading branch information
artengin committed Oct 16, 2024
1 parent 1220dc0 commit b6229fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion resources/views/components/comment/_comment.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class="btn btn-sm btn-link text-uppercase p-0 mr-2">
{{ html()->hidden('commentable_id') }}
<div class="form-floating">
{{ html()->textarea('content')->class('form-control h-100')->required() }}
<label for="content" class="w-100">{{ __('comment.enter_your_message') }}</label>
<label for="content" class="w-100 text-wrap">{{ __('comment.enter_your_message') }}</label>
</div>
</div>
<div class="modal-footer text-left">
Expand Down
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 @@ -10,7 +10,7 @@
{{ html()->hidden('commentable_id')->value($model->id) }}
<div class="form-floating">
{{ html()->textarea('content')->class('form-control x-min-h-100px')->required() }}
<label for="content" class="w-100">{{ __('comment.enter_your_message') }}</label>
<label for="content" class="w-100 text-wrap">{{ __('comment.enter_your_message') }}</label>
</div>
<div class="mt-3">
{{ html()->submit(__('comment.submit'))->class('btn btn-success btn-sm text-uppercase') }}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/components/comment/reply/_modal.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
{{ html() ->hidden('parent_id')->value($comment->id) }}
<div class="form-floating">
{{ html()->textarea('content')->class('form-control h-100')->required() }}
<label for="content" class="w-100">{{ __('comment.enter_your_message') }}</label>
<label for="content" class="w-100 text-wrap">{{ __('comment.enter_your_message') }}</label>
</div>
</div>
<div class="modal-footer text-left">
Expand Down

0 comments on commit b6229fe

Please sign in to comment.