Version Description
Release Date: January 18th, 2022 * Fix: Border Radius Image Block.
Download this release
Release Info
Developer | britner |
Plugin | Kadence Blocks – Gutenberg Page Builder Toolkit |
Version | 2.2.2 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.2.2
- dist/class-kadence-blocks-frontend.php +3 -2
- kadence-blocks.php +2 -2
- readme.txt +5 -1
dist/class-kadence-blocks-frontend.php
CHANGED
@@ -5724,6 +5724,7 @@ class Kadence_Blocks_Frontend {
|
|
5724 |
$css->add_property( 'max-width', $attr['imgMaxWidth'] . 'px' );
|
5725 |
}
|
5726 |
}
|
|
|
5727 |
// Padding
|
5728 |
foreach(['Desktop', 'Tablet', 'Mobile'] as $breakpoint) {
|
5729 |
$css->start_media_query( $media_query[ strtolower($breakpoint) ] );
|
@@ -6936,8 +6937,8 @@ class Kadence_Blocks_Frontend {
|
|
6936 |
$css->set_selector( '#kt-layout-id' . $unique_id . ' > .kt-row-column-wrap.kb-theme-content-width' );
|
6937 |
$css->add_property( 'max-width', absint( $content_width ) . 'px' );
|
6938 |
$css->set_selector( '.kt-layout-id' . $unique_id . ' > .kb-theme-content-width' );
|
6939 |
-
$css->add_property( 'padding-left', 'var(--global-
|
6940 |
-
$css->add_property( 'padding-right', 'var(--global-
|
6941 |
} else {
|
6942 |
$css->set_selector( '#kt-layout-id' . $unique_id . ' > .kt-row-column-wrap.kb-theme-content-width' );
|
6943 |
$css->add_property( 'max-width', absint( $content_width ) . 'px' );
|
5724 |
$css->add_property( 'max-width', $attr['imgMaxWidth'] . 'px' );
|
5725 |
}
|
5726 |
}
|
5727 |
+
$css->set_selector( '.kb-image' . $unique_id . ' .kb-img' );
|
5728 |
// Padding
|
5729 |
foreach(['Desktop', 'Tablet', 'Mobile'] as $breakpoint) {
|
5730 |
$css->start_media_query( $media_query[ strtolower($breakpoint) ] );
|
6937 |
$css->set_selector( '#kt-layout-id' . $unique_id . ' > .kt-row-column-wrap.kb-theme-content-width' );
|
6938 |
$css->add_property( 'max-width', absint( $content_width ) . 'px' );
|
6939 |
$css->set_selector( '.kt-layout-id' . $unique_id . ' > .kb-theme-content-width' );
|
6940 |
+
$css->add_property( 'padding-left', 'var(--global-content-edge-padding)' );
|
6941 |
+
$css->add_property( 'padding-right', 'var(--global-content-edge-padding)' );
|
6942 |
} else {
|
6943 |
$css->set_selector( '#kt-layout-id' . $unique_id . ' > .kt-row-column-wrap.kb-theme-content-width' );
|
6944 |
$css->add_property( 'max-width', absint( $content_width ) . 'px' );
|
kadence-blocks.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
|
6 |
* Author: Kadence WP
|
7 |
* Author URI: https://www.kadencewp.com
|
8 |
-
* Version: 2.2.
|
9 |
* Text Domain: kadence-blocks
|
10 |
* License: GPL2+
|
11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
|
@@ -20,7 +20,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
20 |
|
21 |
define( 'KADENCE_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
22 |
define( 'KADENCE_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
|
23 |
-
define( 'KADENCE_BLOCKS_VERSION', '2.2.
|
24 |
/**
|
25 |
* Add a check before redirecting
|
26 |
*/
|
5 |
* Description: Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
|
6 |
* Author: Kadence WP
|
7 |
* Author URI: https://www.kadencewp.com
|
8 |
+
* Version: 2.2.2
|
9 |
* Text Domain: kadence-blocks
|
10 |
* License: GPL2+
|
11 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
|
20 |
|
21 |
define( 'KADENCE_BLOCKS_PATH', realpath( plugin_dir_path( __FILE__ ) ) . DIRECTORY_SEPARATOR );
|
22 |
define( 'KADENCE_BLOCKS_URL', plugin_dir_url( __FILE__ ) );
|
23 |
+
define( 'KADENCE_BLOCKS_VERSION', '2.2.2' );
|
24 |
/**
|
25 |
* Add a check before redirecting
|
26 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Tags: gutenberg, blocks, page builder, google fonts, dual buttons, svg icons, ed
|
|
4 |
Donate link: https://www.kadencewp.com/about-us/
|
5 |
Requires at least: 5.8
|
6 |
Tested up to: 5.8
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -80,6 +80,10 @@ Install the plugin into the `/wp-content/plugins/` folder, and activate it.
|
|
80 |
|
81 |
== Changelog ==
|
82 |
|
|
|
|
|
|
|
|
|
83 |
= 2.2.1 =
|
84 |
Release Date: January 17th, 2022
|
85 |
* Fix: Possible issue with Table of Contents.
|
4 |
Donate link: https://www.kadencewp.com/about-us/
|
5 |
Requires at least: 5.8
|
6 |
Tested up to: 5.8
|
7 |
+
Stable tag: 2.2.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
80 |
|
81 |
== Changelog ==
|
82 |
|
83 |
+
= 2.2.2 =
|
84 |
+
Release Date: January 18th, 2022
|
85 |
+
* Fix: Border Radius Image Block.
|
86 |
+
|
87 |
= 2.2.1 =
|
88 |
Release Date: January 17th, 2022
|
89 |
* Fix: Possible issue with Table of Contents.
|