From 0b78dae20afb108764f5caedabf94f54818d5c07 Mon Sep 17 00:00:00 2001 From: Renard Date: Thu, 12 Sep 2019 13:19:22 -0300 Subject: Manejo de hilos cerrados --- src/App.css | 4 ++++ src/BBSThread.js | 22 ++++++++++++++-------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/src/App.css b/src/App.css index 2b19b24..3342107 100644 --- a/src/App.css +++ b/src/App.css @@ -7,4 +7,8 @@ .inlineSubHeader { display: inline !important; margin-left: 0.25em !important; +} + +.imageSegment { + padding: 0 !important; } \ No newline at end of file diff --git a/src/BBSThread.js b/src/BBSThread.js index 905628f..dba48df 100644 --- a/src/BBSThread.js +++ b/src/BBSThread.js @@ -57,14 +57,20 @@ class BBSThread extends Component { ); } - const { posts, subject, timestamp, total_replies } = this.state.thread; + const { posts, subject, timestamp, total_replies, locked } = this.state.thread; return (
-
{subject} +
+ + {subject}{locked ? : null} + + + Creado
- {total_replies} respuestas + {total_replies} respuestas
+
@@ -80,17 +86,17 @@ class BBSThread extends Component { {post.file != "" ? - + : null}
- + {locked ? null : + ()} -- cgit v1.2.1-18-gbd029