[wp-trac] [WordPress Trac] #25008: Twenty Fourteen: Add word-wrap to title, avoid overflows

WordPress Trac noreply at wordpress.org
Thu Aug 15 22:24:47 UTC 2013


#25008: Twenty Fourteen: Add word-wrap to title, avoid overflows
-------------------------------------+--------------------
 Reporter:  nofearinc                |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  3.8
Component:  Bundled Theme            |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |
-------------------------------------+--------------------

Comment (by nofearinc):

 Replying to [comment:2 lancewillett]:
 > We might want to look at an approach that breaks in a better way, like
 {{{hyphens}}}.

 Not sure what is the best way to implement that without JavaScript hacks
 so that it works in various browsers.

 I was thinking of something like this added to my patch:


 {{{
  -ms-word-break: break-all;
      word-break: break-all;
      word-break: break-word;
 -webkit-hyphens: auto;
    -moz-hyphens: auto;
     -ms-hyphens: auto;
         hyphens: auto;
 }}}

 As in [http://kenneth.io/blog/2012/03/04/word-wrapping-hypernation-using-
 css/ this demo], but still not sure how compatible would it be everywhere.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25008#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list