Skip to content

Commit

Permalink
Merge branch 'release/2.16.5'
Browse files Browse the repository at this point in the history
  • Loading branch information
Misplon committed Mar 6, 2022
2 parents 06ed5b9 + d0ebdb6 commit e319095
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
8 changes: 6 additions & 2 deletions inc/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,8 +349,12 @@ public function generate_css( $post_id, $panels_data = false, $layout_data = fal
// Do we need to remove the theme container on this page?
if (
$this->container['css_override'] &&
$this->container['full_width'] // Does this layout have full width layouts?
) {
$this->container['full_width'] && // Does this layout have full width layouts?
! defined( 'siteorigin_css_override' )
) {
// Prevent this CSS from being added again.
define( 'siteorigin_css_override', true );

$css->add_css(
esc_html( $this->container['selector'] ),
array(
Expand Down
3 changes: 3 additions & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,9 @@ SiteOrigin Premium includes access to our professional email support service, pe

== Changelog ==

= 2.16.5 - 06 March 2022 =
* Full-Width Containers Using CSS: Ensured full-width global CSS is only output once.

= 2.16.4 - 19 February 2022 =
* Full-Width Containers Using CSS: Restored normal functionality when Standard or Full-Width rows not present.
* Full-Width Containers Using CSS: Resolved a collapse issue when the browser resolution equals the collapse value.
Expand Down

0 comments on commit e319095

Please sign in to comment.