No word-wrap on topics. EASY FIX!
No word-wrap on topics. EASY FIX!
astronautsurfer@7ef8b296 Thursday 25th November 2021, 05:19:01I like your software. It's fast and simple. But I don't like bugs (or in this case "fleas")...
I noticed that when I view topics the words are not wrapped but rather cut in half when they reach the end of the div.
In the "bootstrap" theme I fixed this by modifying line #41 in "viewTopic.tpl.php"
Old line:
New Line:
I also discovered this issue for the most recent post in "lastposts.tpl.php" on line #5.
Old line:
New line:
It was a simple fix. Just though you should know.
Best.
I noticed that when I view topics the words are not wrapped but rather cut in half when they reach the end of the div.
In the "bootstrap" theme I fixed this by modifying line #41 in "viewTopic.tpl.php"
Old line:
<div style="width: 100%; word-break: break-all">' .Parser::content($topicEntry['content']). '</div>
New Line:
<div style="width: 100%; word-break: break-word">' .Parser::content($topicEntry['content']). '</div>
I also discovered this issue for the most recent post in "lastposts.tpl.php" on line #5.
Old line:
<div style="width:100%; word-break: break-all">
New line:
<div style="width:100%; word-break: break-word">
It was a simple fix. Just though you should know.
Best.
Last modified by astronautsurfer@7ef8b296 on Thursday 25th November 2021, 05:36:00
Replies 3
This is not a bug, break-all breaks down every character that is being type, break-word breaks everything by word. The reason why this is setup is just to make things shorter instead of having long line of reading.
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well
Join the conversation button... It should just show the writing window without the need to push it, to many clicks and confusion finding it.
In any case I can understand what he means, never have I seen any other forum that breaks text like that and it is kinda odd overall, I think this should be fixed as well to work as any other normal forum that has been in the past for sanity.
I don't see why this should be a problem to split text here and there like the good old days. Less confusion for the user overall. Great fix if it works - even if it is not considered a bug, I thought myself it was a bug that should be fixed.
- Darkijah
In any case I can understand what he means, never have I seen any other forum that breaks text like that and it is kinda odd overall, I think this should be fixed as well to work as any other normal forum that has been in the past for sanity.
I don't see why this should be a problem to split text here and there like the good old days. Less confusion for the user overall. Great fix if it works - even if it is not considered a bug, I thought myself it was a bug that should be fixed.
- Darkijah
Another feature that would be nice is to have a timestamp and 2 posted collected together if the user writes another.
Like this...
Added later 5 h 09 min 10 s:
Merge is so cool!!!
http://jesusgod-pope666.inf👋forum/viewtopic.php?id=13 <-- there is a problem writing 0 / together clearly. The word is info with a /
- Darkijah
Like this...
Added later 5 h 09 min 10 s:
Merge is so cool!!!
http://jesusgod-pope666.inf👋forum/viewtopic.php?id=13 <-- there is a problem writing 0 / together clearly. The word is info with a /
- Darkijah
Last modified by Jesusgod-pope666@34030237 on Wednesday 9th February 2022, 03:05:00
Suggested Topics
Kat#b0d39
started solved Time stamp translation to French
General Questions
ben@d7ab5755
started Embedded YouTube videos not resizing to fit window
Bug reports
Tillreetree@fc7e1f5a
started Allow HTML for topic or reply content
Feature Requests
Alexander Liebrecht
started solved Increase the number of topic characters
General Questions