ytryr Posted January 12 Report Share Posted January 12 (edited) Кака можно это исправить и где подскажите просто весь плеер встает видно на фото Edited January 12 by ytryr Quote Link to comment Share on other sites More sharing options...
timbios Posted January 12 Report Share Posted January 12 Свойство text-overflow: ellipsis добавляет многоточие к скрываемому тексту и работает только в паре с white-space: nowrap (отменяет переносы строк). Но можно сделать такой приём для нескольких строк текста с помощью свойств display: -webkit-box и -webkit-line-clamp: 4. Тебе нужен только text-overflow: ellipsis и white-space: nowrap. Попробуй и отпиши в теме, помогло ли. .items-text { overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; } Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.