[wp-trac] [WordPress Trac] #37555: A post with a long title goes out of bounds

WordPress Trac noreply at wordpress.org
Wed Aug 10 01:35:07 UTC 2016


#37555: A post with a long title goes out of bounds
----------------------------+------------------------------
 Reporter:  vimukthiperera  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  4.5.3
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:  ui
----------------------------+------------------------------

Comment (by Presskopp):

 I don't think your solution is fitting perfectly, while being elegant.
 After all it's just using `word-wrap: break-word;` to solve this issue.
 But the class name is not really at place. And in the meantime we have a
 nice little collection of things going out of bounds:


 A post with a long title goes out of bounds
 #37555

 Username text overflows in error message box on login screen.
 #37617

 long page title issue in drop down list setting>reading page
 #37582

 text overflows, if it has no hyphens on media upload page.
 #37581

 ...?

 Until now WordPress uses only a few instances of `word-wrap: break-word;`
 and `text-overflow: ellipsis;`

 My conclusion is to add a new class or two, combining these cases system-
 wide.

 There also seems to be a nice javascript-code helping us, if we wanted
 that.
 [http://dotdotdot.frebsite.nl/]

 I leave the housekeeping to the inner cirlce of coders now… :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/37555#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list