Skip to content

Commit

Permalink
Fixing an issue where info box flip images were not bound in the bord…
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-c-woodard committed Feb 18, 2025
1 parent d82ecb9 commit 43e9190
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions includes/blocks/class-kadence-blocks-infobox-block.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ public function build_css( $attributes, $css, $unique_id, $unique_style_id ) {
}
if ( isset( $media_style['borderRadius'] ) && ! empty( $media_style['borderRadius'] ) ) {
$css->add_property( 'border-radius', $media_style['borderRadius'] . ( isset( $media_style['borderRadiusUnit'] ) ? $media_style['borderRadiusUnit'] : 'px' ) );
$css->add_property( 'overflow', 'hidden' );
}
if ( isset( $media_style['borderWidth'] ) && is_array( $media_style['borderWidth'] ) ) {
$border_width_unit = isset( $media_style['borderWidthUnit'] ) ? $media_style['borderWidthUnit'] : 'px';
Expand Down

0 comments on commit 43e9190

Please sign in to comment.