I'm attempting to prevent word-breaks inside my .threadTitle
class by using display: inline-block
. While this solution works, the addition of a hyphen between two letters still causes a break.
https://i.sstatic.net/q6ZMk.png
Neither word-break: keep-all
nor display: inline-block
is achieving the desired outcome.
.threadTitle {
position: relative;
display: inline-block;
word-break: keep-all;
flex: 1 1 0;
overflow: hidden;
}