From 8cc03602985fa67dd59166a37ea0596066e45cd9 Mon Sep 17 00:00:00 2001 From: up201706832 Date: Sun, 3 Jan 2021 18:00:57 +0000 Subject: [PATCH] [REPLY] Fixed CSS for reply form, making it now usable --- plugins/Reply/Reply.php | 2 +- public/assets/css/network/public.css | 13 +++++++++++++ public/assets/css/network/public_mid.css | 13 +++++++++++++ public/assets/css/network/public_small.css | 13 +++++++++++++ 4 files changed, 40 insertions(+), 1 deletion(-) diff --git a/plugins/Reply/Reply.php b/plugins/Reply/Reply.php index 054e6058d5..9657790e62 100644 --- a/plugins/Reply/Reply.php +++ b/plugins/Reply/Reply.php @@ -105,7 +105,7 @@ class Reply extends Module $form = Form::create([ ['content', TextareaType::class, ['label' => ' ']], ['attachments', FileType::class, ['label' => ' ', 'multiple' => true, 'required' => false]], - ['reply', SubmitType::class, ['label' => _m('Submit')]], + ['replyform', SubmitType::class, ['label' => _m('Submit')]], ]); $form->handleRequest($request); diff --git a/public/assets/css/network/public.css b/public/assets/css/network/public.css index b833d1492a..b48b15135c 100644 --- a/public/assets/css/network/public.css +++ b/public/assets/css/network/public.css @@ -411,3 +411,16 @@ cursor: pointer; z-index: 0; } + +#replyform { + margin: var(--main-size); +} +#replyform div { + display: inline-flex; + justify-content: flex-start; + width: 100%; + box-sizing: border-box; +} +#replyform div textarea { + width: 100%; +} diff --git a/public/assets/css/network/public_mid.css b/public/assets/css/network/public_mid.css index 846104ae6b..c637e042fe 100644 --- a/public/assets/css/network/public_mid.css +++ b/public/assets/css/network/public_mid.css @@ -410,3 +410,16 @@ cursor: pointer; z-index: 0; } + +#replyform { + margin: var(--main-size); +} +#replyform div { + display: inline-flex; + justify-content: flex-start; + width: 100%; + box-sizing: border-box; +} +#replyform div textarea { + width: 100%; +} diff --git a/public/assets/css/network/public_small.css b/public/assets/css/network/public_small.css index 88d9fdcfc8..d08cf68981 100644 --- a/public/assets/css/network/public_small.css +++ b/public/assets/css/network/public_small.css @@ -409,3 +409,16 @@ cursor: pointer; z-index: 0; } + +#replyform { + margin: var(--main-size); +} +#replyform div { + display: inline-flex; + justify-content: flex-start; + width: 100%; + box-sizing: border-box; +} +#replyform div textarea { + width: 100%; +}