Long text without spaces makes html elements like div scale width in very unexpected way.
For example:
<div className='Test'>
<div className='one'>
11111
</div>
<div className='two'>
22222222 222222222
</div>
<div className='three'>
33333333333333333333333333333333333333333333333
</div>
</div>
.one {
width: 20px;
border: solid green;
}
.two {
border: solid purple;
}
.three {
border: solid blue;
}
.Test {
border: solid black;
}
Why this is happening and how we can fix it? By the way I meant mobile auto scaling, because desktop browsers do not scale width on it's own.