Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Long titles should be shortened in the conference view #38

Closed
bjoern-r opened this issue Jan 4, 2016 · 3 comments
Closed

Long titles should be shortened in the conference view #38

bjoern-r opened this issue Jan 4, 2016 · 3 comments

Comments

@bjoern-r
Copy link
Member

bjoern-r commented Jan 4, 2016

Test URL: https://media.ccc.de/c/32c3?sort=date
image

@bjoern-r
Copy link
Member Author

bjoern-r commented Jan 4, 2016

Browser is Chrome (47.0.2526.106 (64-bit)) on OSX

@manno
Copy link
Member

manno commented Jan 5, 2016

Tried to truncate the variables, but never found a good value. I wanted to put the description in the box, too. But with everything overflowing, I've no idea, maybe truncate title to 120 chars?

@MaZderMind
Copy link
Contributor

The Title in the Example is just 104 Chars, so 120 seems to much. I'd propose truncating on the first space before the 90th character:

truncate(title, length: 90, separator: ' ', omission: '…')

Alternatively we could truncate in CSS based on line-height but we wouldn't be able to add … to the end of the title then:
screenshot from 2016-01-05 13 49 37

manno pushed a commit that referenced this issue Jan 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants