Title Wrap/Excerpt Doesn't Fit #1206

Closed
opened 2026-02-05 00:15:25 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @blackshrub on GitHub (May 27, 2019).

The title excerpt doesn't perfectly fit the end of the container

Screen Shot 2019-05-27 at 20 00 39

Originally created by @blackshrub on GitHub (May 27, 2019). The title excerpt doesn't perfectly fit the end of the container ![Screen Shot 2019-05-27 at 20 00 39](https://user-images.githubusercontent.com/12421725/58421468-343a0200-80ba-11e9-808a-748a1373dbb1.jpg)
Author
Owner

@ssddanbrown commented on GitHub (Dec 17, 2020):

Thanks for the request @blackshrub.

Should probably bump up the character count from 35 to 40.

Could alternatively potentially use -webkit-line-clamp which surprisingly seems to have good browser support.

@ssddanbrown commented on GitHub (Dec 17, 2020): Thanks for the request @blackshrub. Should probably bump up the character count from 35 to 40. Could alternatively potentially use [-webkit-line-clamp](https://developer.mozilla.org/en-US/docs/Web/CSS/-webkit-line-clamp) which surprisingly seems to have good browser support.
Author
Owner

@ssddanbrown commented on GitHub (Dec 19, 2020):

As of 4b4642c8ea the limiting will now be done with css so that it's limited to two lines rather than being limited by a hardcoded, guessed limit.

Will be part of the next release. (v0.31)

@ssddanbrown commented on GitHub (Dec 19, 2020): As of 4b4642c8ea58aa91cfe9b83095d2d420f608ad4d the limiting will now be done with css so that it's limited to two lines rather than being limited by a hardcoded, guessed limit. Will be part of the next release. (v0.31)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1206