[wp-trac] [WordPress Trac] #32846: Content overruns on mobile devices

WordPress Trac noreply at wordpress.org
Sat Jul 11 20:00:34 UTC 2015


#32846: Content overruns on mobile devices
------------------------------+--------------------------------------------
 Reporter:  ubernaut          |       Owner:  jeremyfelt
     Type:  defect (bug)      |      Status:  assigned
 Priority:  normal            |   Milestone:  4.3
Component:  Networks and      |     Version:  3.0
  Sites                       |  Resolution:
 Severity:  normal            |     Focuses:  ui, administration, multisite
 Keywords:  needs-patch       |
------------------------------+--------------------------------------------

Comment (by jeremyfelt):

 It's hard to track down the reasoning for `.theme-php .wrap h1 { width:
 100%; }` in mobile views now as it was originally introduced in
 [https://plugins.trac.wordpress.org/changeset/844556 txh-38:844556] before
 the final merges of the new theme experience to core in 3.8. It seems like
 there may have been a time when the search input was handled slightly
 different.

 In the network admin, there is no search input next to the title, only Add
 New. This is all wrapped in the same `h1`, which is floated left and does
 not have any conflicts if the width is removed.

 In a site admin on the network, there is no Add New button, only an
 indicator of number of themes. This is also wrapped in the same `h1` and
 has no trouble if width is removed.

 In a single site admin, both Add New and a search input are provided,
 though all are part of the same `h1` and removing width causes no trouble.

 It seems like we could also remove `float: left;`, but the smaller change
 the better. :)

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


More information about the wp-trac mailing list