diff options
author | Renard | 2019-10-06 19:12:32 -0300 |
---|---|---|
committer | Renard | 2019-10-06 19:12:32 -0300 |
commit | 00c71da0c32253b3dfda468e1dd66dc1127fed82 (patch) | |
tree | 10ecf59a9a3d75aa216f16d4784851d9719e2a28 /src/ThreadList.js | |
parent | 6d542fc2ecb4bc97038e104d5541100772540676 (diff) | |
download | bai-client-00c71da0c32253b3dfda468e1dd66dc1127fed82.tar.gz bai-client-00c71da0c32253b3dfda468e1dd66dc1127fed82.tar.xz bai-client-00c71da0c32253b3dfda468e1dd66dc1127fed82.zip |
Threadlist fixes
Diffstat (limited to 'src/ThreadList.js')
-rw-r--r-- | src/ThreadList.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/ThreadList.js b/src/ThreadList.js index 56f9ab2..6069157 100644 --- a/src/ThreadList.js +++ b/src/ThreadList.js @@ -48,8 +48,8 @@ class ThreadList extends Component { <Item.Group divided> {threadList.map((thread, index) => { return ( - <Item key={index}> - {currentBoard.allow_images === 1 && ( + <Item key={index} className={nightMode ? "inverted" : ""}> + {currentBoard.allow_images === 1 && thread.thumb !== "" && ( <Item.Image size="tiny" src={`https://bienvenidoainternet.org/${dir}/thumb/${thread.thumb}`} @@ -59,7 +59,9 @@ class ThreadList extends Component { <Item.Header as={Link} to={`/${dir}/read/${thread.id}`} - className={nightMode && "inverted"} + className={ + nightMode ? "threadTitle inverted" : "threadTitle" + } > {thread.subject} </Item.Header> |