From 0ba0f06b2c305d79184d8c8bf34b50b599aa56f1 Mon Sep 17 00:00:00 2001 From: BodgeMaster <> Date: Tue, 7 Sep 2021 08:39:26 +0200 Subject: [PATCH] added reply button --- threadr/board/board.php | 31 ++++++++++++++++++------------- threadr/style.css | 9 +++++++++ 2 files changed, 27 insertions(+), 13 deletions(-) diff --git a/threadr/board/board.php b/threadr/board/board.php index c4722dc..7e2b667 100644 --- a/threadr/board/board.php +++ b/threadr/board/board.php @@ -29,19 +29,24 @@ foreach($statement->fetchAll() as $ROW) { } echo "
-

$post_title

-$reply_reference -
-
-
-

$post_creator_name

-
-
-
-

$post_content

-
-
-
"; +
+ + + +

$post_title

+ $reply_reference +
+
+
+
+

$post_creator_name

+
+
+
+

$post_content

+
+
+ "; } ?> diff --git a/threadr/style.css b/threadr/style.css index 3c67d23..7b806d7 100644 --- a/threadr/style.css +++ b/threadr/style.css @@ -392,6 +392,15 @@ header { h1.post{ margin: 0; } + p.post_reply { margin: 0.1em; } + +a.post_reply { + float: right; +} +button.post_reply { + width: auto; + margin: 0.1em; +}