(11-10-2022, 12:31 PM)Gordi Wrote: I think I've fixed the Shoutbox text (end of line) word-breaking thing.
In AdminCP, Templates and Style, Themes, Rogue-Nation Discussion Board, global.css.
To fix SHOUTBOX word breaking at end of line...
Change:
global.css
line 1898
#shoutbox .avatar { height: 22px; }
#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; max-height: 36px; max-width: 36px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #0087fd; word-break: break-all; word-wrap: break-word; }
to
#shoutbox .avatar { height: 22px; }
#shoutbox .avatar img { margin: 0 auto; vertical-align: middle; max-height: 36px; max-width: 36px; border: solid 1px rgba(255,255,255,0.1); box-shadow: 0 0 2px rgba(0,0,0,0.1); cursor: pointer; }
#shoutbox .user { border-right: solid 1px rgba(0,0,0,0.05); text-align: right; white-space: nowrap; }
#shoutbox .text { width: 100%; color: #0087fd; word-break: normal; word-wrap: break-word; }
G
Seems to be working fine now! Well done, Sir !!!