Fix inline style

This commit is contained in:
Robin Cornett
2016-07-02 14:11:23 -04:00
parent 72a50ea505
commit 30680f0787
@@ -85,7 +85,7 @@ class Display_Featured_Image_Genesis_Output {
* @since 2.6.0
*/
public function add_inline_style() {
$css = sprintf( '.big-leader { max-height: %spx }', $this->setting['max_height'] );
$css = sprintf( '.big-leader { max-height: %spx; }', $this->setting['max_height'] );
wp_add_inline_style( 'displayfeaturedimage-style', strip_tags( $css ) );
}