aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLibravatar Renard 2019-09-26 15:57:09 -0300
committerLibravatar Renard 2019-09-26 15:57:09 -0300
commit72cb6540d0ae2c57fa6d109e32b5615019801ac9 (patch)
tree9ef14781865088ddcae4afe98cb2c9be91a153af /src
parentd3c3ac12c08ed283c9ba83cc0ea5bf48291ef369 (diff)
downloadbai-client-72cb6540d0ae2c57fa6d109e32b5615019801ac9.tar.gz
bai-client-72cb6540d0ae2c57fa6d109e32b5615019801ac9.tar.xz
bai-client-72cb6540d0ae2c57fa6d109e32b5615019801ac9.zip
Fix: word-wrap en títulos de hilos
Diffstat (limited to 'src')
-rw-r--r--src/App.css3
-rw-r--r--src/Board.js7
2 files changed, 8 insertions, 2 deletions
diff --git a/src/App.css b/src/App.css
index 4698349..6339996 100644
--- a/src/App.css
+++ b/src/App.css
@@ -2,7 +2,8 @@
margin-top: 4em;
}
-.postMessage {
+.postMessage,
+.threadTitle {
word-break: break-word;
overflow-wrap: anywhere;
text-overflow: ellipsis;
diff --git a/src/Board.js b/src/Board.js
index 933d4b3..2a6155f 100644
--- a/src/Board.js
+++ b/src/Board.js
@@ -147,7 +147,12 @@ class Board extends Component {
{threadList.map(thread => (
<Segment.Group key={"seg_" + thread.timestamp + thread.id}>
- <Header as="h3" attached inverted={nightMode}>
+ <Header
+ as="h3"
+ attached
+ inverted={nightMode}
+ className="threadTitle"
+ >
<Link to={`/${dir}/read/${thread.id}`}>{thread.subject}</Link>
<Header.Subheader>
{thread.total_replies} respuestas