Cms: Long titles mess up the header layout on the edit Entry page

Created on 12 Jul 2019  路  4Comments  路  Source: craftcms/cms

Messed up header on the edit Entry page

Steps to reproduce

  1. Create an entry with 60 or more characters in its title field.

Additional info

  • Craft version: 3.2.1
bug minor

Most helpful comment

Fixed this for the next release. Here鈥檚 a few ways the header will look depending on viewport width:

Edit Entry page header in a wide viewport

Edit Entry page header in a medium-wide viewport

Edit Entry page header on a mobile viewport

Thanks to @sebastian-lenz for the help with title truncation!

All 4 comments

Fixed this for the next release. Here鈥檚 a few ways the header will look depending on viewport width:

Edit Entry page header in a wide viewport

Edit Entry page header in a medium-wide viewport

Edit Entry page header on a mobile viewport

Thanks to @sebastian-lenz for the help with title truncation!

Suggestion: what if we wrap the title instead of truncating it?

Title wrap

I prefer the truncated variant. The title should quickly indicate which page the user is on and the full title is always visible in the title field located on all tabs. Also, css cannot truncated multiline text (as far as I am aware) so with multiline display the header could grow in height to unexpected dimensions.

Also I like having the revision menu connected to the heading.

Was this page helpful?
0 / 5 - 0 ratings