WordPress.org

Make WordPress Core

Changeset 46430


Ignore:
Timestamp:
10/08/2019 02:00:24 AM (6 weeks ago)
Author:
SergeyBiryukov
Message:

Twenty Fourteen: Replace overly broad float-clearing selectors with more specific ones, to avoid unintentionally targeting elements generated by plugins.

Props ianbelanger, iandunn, karmatosed.
Fixes #35779.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyfourteen/style.css

    r46429 r46430  
    763763.search-box:before,
    764764.search-box:after,
    765 [class*="content"]:before,
    766 [class*="content"]:after,
    767 [class*="site"]:before,
    768 [class*="site"]:after {
     765.site:before,
     766.site:after,
     767.site-header:before,
     768.site-header:after,
     769.site-description:before,
     770.site-description:after,
     771.site-navigation:before,
     772.site-navigation:after,
     773.site-main:before,
     774.site-main:after,
     775.main-content:before,
     776.main-content:after,
     777.featured-content:before,
     778.featured-content:after,
     779.featured-content-inner:before,
     780.featured-content-inner:after,
     781.content-area:before,
     782.content-area:after,
     783.site-content:before,
     784.site-content:after,
     785.page-content:before,
     786.page-content:after,
     787.entry-content:before,
     788.entry-content:after,
     789.comment-content:before,
     790.comment-content:after,
     791.content-sidebar:before,
     792.content-sidebar:after,
     793.site-footer:before,
     794.site-footer:after,
     795.site-info:before,
     796.site-info:after {
    769797    content: "";
    770798    display: table;
     
    777805.contributor-info:after,
    778806.search-box:after,
    779 [class*="content"]:after,
    780 [class*="site"]:after {
     807.site:after,
     808.site-header:after,
     809.site-description:after,
     810.site-navigation:after,
     811.site-main:after,
     812.main-content:after,
     813.featured-content:after,
     814.featured-content-inner:after,
     815.content-area:after,
     816.site-content:after,
     817.page-content:after,
     818.entry-content:after,
     819.comment-content:after,
     820.content-sidebar:after,
     821.site-footer:after,
     822.site-info:after {
    781823    clear: both;
    782824}
Note: See TracChangeset for help on using the changeset viewer.