In Chrome this works by default (see screenshots). Text that does not fit is automatically hidden. But in Safari and Mozilla it does not. Please help
<code> .test
overflow: hidden
max-height: 270px
</code>
<code> .test
overflow: hidden
max-height: 270px
</code>
.test
overflow: hidden
max-height: 270px
text-overflow: ellipsis it does not suit me