Skip to content

Commit

Permalink
Make default row count in textarea bigger
Browse files Browse the repository at this point in the history
  • Loading branch information
antimech committed Nov 7, 2023
1 parent 7e4484a commit cef1f6e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/views/posts/create.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
id="body"
name="body"
class="mt-1 block w-full border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-indigo-500 dark:focus:border-indigo-600 focus:ring-indigo-500 dark:focus:ring-indigo-600 rounded-md shadow-sm"
rows="32"
required
>{{ old('body') }}</textarea>
<x-input-error class="mt-2" :messages="$errors->get('body')" />
Expand Down
1 change: 1 addition & 0 deletions resources/views/posts/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
id="body"
name="body"
class="mt-1 block w-full border-gray-300 dark:border-gray-700 dark:bg-gray-900 dark:text-gray-300 focus:border-indigo-500 dark:focus:border-indigo-600 focus:ring-indigo-500 dark:focus:ring-indigo-600 rounded-md shadow-sm"
rows="32"
required
>{{ old('body', $post->body) }}</textarea>
<x-input-error class="mt-2" :messages="$errors->get('body')" />
Expand Down

0 comments on commit cef1f6e

Please sign in to comment.