From 3d08364f55032869f8eb9771061dc4a09beda376 Mon Sep 17 00:00:00 2001 From: Smol-An Date: Tue, 18 Jun 2024 21:48:15 +0300 Subject: [PATCH] [#1626] fix comment field resizing --- resources/sass/_custom.scss | 4 ++++ resources/views/components/comment/_form.blade.php | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/resources/sass/_custom.scss b/resources/sass/_custom.scss index c3c204133..cb4b427f4 100644 --- a/resources/sass/_custom.scss +++ b/resources/sass/_custom.scss @@ -42,3 +42,7 @@ margin-right: 16px; } } + +.x-min-h-100 { + min-height: 100px !important; +} diff --git a/resources/views/components/comment/_form.blade.php b/resources/views/components/comment/_form.blade.php index fc94f9dee..25c293632 100644 --- a/resources/views/components/comment/_form.blade.php +++ b/resources/views/components/comment/_form.blade.php @@ -9,7 +9,7 @@ {{ html()->hidden('commentable_type')->value(get_class($model)) }} {{ html()->hidden('commentable_id')->value($model->id) }}
- {{ html()->textarea('content')->class('form-control h-100')->required() }} + {{ html()->textarea('content')->class('form-control x-min-h-100')->required() }}