Themes: Add a clearing <br/> to the end of .theme-browser.

This is needed to cause the browser to render .theme-browser's height as it's true height, previously the reported height was 1*.theme which caused the Theme scroller to kick in immediately (as the threshold was less than 0).
See #25981 See #25948

Built from https://develop.svn.wordpress.org/trunk@26468


git-svn-id: http://core.svn.wordpress.org/trunk@26366 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Dion Hulse 2013-11-29 05:17:11 +00:00
parent a2607efe8b
commit 1a8b4dfced
2 changed files with 2 additions and 1 deletions

View File

@ -52,6 +52,7 @@ themes.view.Appearance = wp.Backbone.View.extend({
// Render and append // Render and append
this.view.render(); this.view.render();
this.$el.append( this.view.el ); this.$el.append( this.view.el );
this.$el.append( '<br class="clear"/>' );
}, },
// Search input and view // Search input and view

File diff suppressed because one or more lines are too long