Loading...
  OR  Zero-K Name:    Password:   

Forum: Words breaking in the middle

19 posts, 489 views
Post comment
Filter:    Player:  
sort
I see wor
d breaks i
n the middle of the word (as demonstrated above) in forum posts. My browser/system has no Asian locales or languages installed. Didn't notice this problem before. Firefox or IE, same behavior. Was there a recent change?
+1 / -0
I'm getting mid-word word breaking at the end of the horizontal space in forum posts too. Browser: Firefox.

.forumPostText in maincss seems to have numerous word-break declarations.... Why?
+0 / -0
Yes, there has been a change to forcibly break links. This might've also lead to words being broken. Please link to an example.
+0 / -0


5 years ago


+5 / -0


5 years ago
Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing Testing

TestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTesting

https://www.TestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTestingTesting.com TestingTestingTestingTesting TestingTestingTesting Testing Testing Testing
+0 / -0


5 years ago
Here's a 2 second re-jig of the existing CSS. I got rid of a tonne of unnecessary style declarations:



Use that. Haven't cross browser tested it mind you, but hopefully it will serve as a pointer.
+0 / -0


5 years ago
Was broken, then fixed, now broken again. :/
+0 / -0
Firepluk
5 years ago
Shit code gonna rule the earth and we all will drown in it!

But no worries, this will just make things easier for true AI to exterminate pesky meat bags thru loopholes in their software ^^
+1 / -0
I can reproduce the issue on firefox. Now I'll just have to find out what the correct CSS is to make it work there.. It's supposed to break words if it can't fit them.

The problem with disabling it, is that it makes forum posts wider than they are actually allowed to be. Max-width is 700px, yet they get stretched to 726px.
+0 / -0


5 years ago
Was the provided guidance not clear or faulty?
+0 / -0

5 years ago
@Sparkles check the width you end up with. It overstretches the forum post.
+0 / -0


5 years ago
.forumPostHead has a width of 222px declared, but if you inspect the element, it's stretching to 248px on render. The actual post content is probably "overstretching" to accomodate for that 26 pixel spare coming from the left hand side.

Frankly, this whole damned thing could do with rewriting into something modern. What data source feeds the forums / what platform serves them?
+1 / -0

5 years ago
If you come up with another set of design elements to use I'd gladly integrate them. The HTML is generated directly from the asp.net server application.
+0 / -0


5 years ago
Fixed https://github.com/ZeroK-RTS/Zero-K-Infrastructure/commit/2fb6d52318ca17abe37c64539f1612a5edef7e47
+0 / -0


5 years ago
https://codepen.io/wikidmj/pen/MxEWYY - Here is the example code I promised earlier.

Since you already fixed the accute issue, it may be more work than it's worth to implement it.
+0 / -0

5 years ago
You can now test @Sparkles solution on http://test.zero-k.info/Forum
+0 / -0


5 years ago
It's broken for images - need to do that, hold up.
+0 / -0


5 years ago
Dein you'll just need to apply max-width: 100% to .entry img if you get a chance. That was rapid implementation to the data feed dude, props.
+0 / -0

5 years ago
Done, tell me if you find more issues.
+0 / -0