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. git-svn-id: https://develop.svn.wordpress.org/trunk@46430 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
683309fc44
commit
9ec0161373
@ -762,10 +762,38 @@ div.wp-caption.alignright .wp-caption-text {
|
||||
.contributor-info:after,
|
||||
.search-box:before,
|
||||
.search-box:after,
|
||||
[class*="content"]:before,
|
||||
[class*="content"]:after,
|
||||
[class*="site"]:before,
|
||||
[class*="site"]:after {
|
||||
.site:before,
|
||||
.site:after,
|
||||
.site-header:before,
|
||||
.site-header:after,
|
||||
.site-description:before,
|
||||
.site-description:after,
|
||||
.site-navigation:before,
|
||||
.site-navigation:after,
|
||||
.site-main:before,
|
||||
.site-main:after,
|
||||
.main-content:before,
|
||||
.main-content:after,
|
||||
.featured-content:before,
|
||||
.featured-content:after,
|
||||
.featured-content-inner:before,
|
||||
.featured-content-inner:after,
|
||||
.content-area:before,
|
||||
.content-area:after,
|
||||
.site-content:before,
|
||||
.site-content:after,
|
||||
.page-content:before,
|
||||
.page-content:after,
|
||||
.entry-content:before,
|
||||
.entry-content:after,
|
||||
.comment-content:before,
|
||||
.comment-content:after,
|
||||
.content-sidebar:before,
|
||||
.content-sidebar:after,
|
||||
.site-footer:before,
|
||||
.site-footer:after,
|
||||
.site-info:before,
|
||||
.site-info:after {
|
||||
content: "";
|
||||
display: table;
|
||||
}
|
||||
@ -776,8 +804,22 @@ div.wp-caption.alignright .wp-caption-text {
|
||||
.slider-direction-nav:after,
|
||||
.contributor-info:after,
|
||||
.search-box:after,
|
||||
[class*="content"]:after,
|
||||
[class*="site"]:after {
|
||||
.site:after,
|
||||
.site-header:after,
|
||||
.site-description:after,
|
||||
.site-navigation:after,
|
||||
.site-main:after,
|
||||
.main-content:after,
|
||||
.featured-content:after,
|
||||
.featured-content-inner:after,
|
||||
.content-area:after,
|
||||
.site-content:after,
|
||||
.page-content:after,
|
||||
.entry-content:after,
|
||||
.comment-content:after,
|
||||
.content-sidebar:after,
|
||||
.site-footer:after,
|
||||
.site-info:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user