diff --git a/assets/css/wc_predictive_search.css b/assets/css/wc_predictive_search.css index 4585c4b..8dbc7e0 100644 --- a/assets/css/wc_predictive_search.css +++ b/assets/css/wc_predictive_search.css @@ -32,6 +32,9 @@ .wc_ps_container * { box-sizing: border-box !important; } +.svg-inline--fa { + box-sizing: content-box !important; +} .wc_ps_container { border-radius: 4px; border: 1px solid #cdcdcd; @@ -128,6 +131,10 @@ text-align: center; vertical-align: middle; padding: 0 5px; + +} +.wc_ps_container svg.wc_ps_nav_submit_icon { + box-sizing: content-box !important; } .wc_ps_container .wc_ps_nav_submit:hover .wc_ps_nav_submit_icon { color: #fff; @@ -185,6 +192,9 @@ right: 5px; top: 0; } +.wc_ps_container svg.wc_ps_searching_icon { + top: calc( 35px/2 - 14px/2 ); +} /* Search Bar Sizes */ .wc_ps_container .wc_ps_nav_left, diff --git a/readme.txt b/readme.txt index d645f40..2d6c650 100644 --- a/readme.txt +++ b/readme.txt @@ -4,7 +4,7 @@ Contributors: a3rev, nguyencongtuan Tags: WooCommerce search, Predictive Search, WooCommerce, Predictive Search, Live Search, e-commerce, wordpress ecommerce Requires at least: 4.5 Tested up to: 5.2.2 -Stable tag: 4.2.6 +Stable tag: 4.2.7 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl-3.0.html @@ -167,6 +167,10 @@ You can use this plugin only when you have installed the WooCommerce plugin. == Changelog == += 4.2.7 - 2019/08/01 = +* This maintenance upgrade is to fix a style conflict with fontawesome icons +* Fix - fontawesome icons not able to get correct style on frontend when the fontawesome script is loaded on the page by theme or another plugin. + = 4.2.6 - 2019/06/29 = * This is a maintenance upgrade to fix a potentially fatal error conflict with sites running PHP 7.3 plus compatibility with WordPress v 5.2.2 and WooCommerce 3.6.4 * Tweak - Test for compatibility with WooCommerce 3.6.4 @@ -783,6 +787,9 @@ You can use this plugin only when you have installed the WooCommerce plugin. == Upgrade Notice == += 4.2.7 = +This maintenance upgrade is to fix a style conflict with fontawesome icons + = 4.2.6 = This is a maintenance upgrade to fix a potentially fatal error conflict with sites running PHP 7.3 plus compatibility with WordPress v 5.2.2 and WooCommerce 3.6.4 diff --git a/templates/dynamic-styles/sidebar-template-style.php b/templates/dynamic-styles/sidebar-template-style.php index 8136af2..08721aa 100755 --- a/templates/dynamic-styles/sidebar-template-style.php +++ b/templates/dynamic-styles/sidebar-template-style.php @@ -81,6 +81,7 @@ } @sidebar_loading_icon_size: px; @sidebar_loading_icon_color: ; +@sidebar_loading_icon_top_postition: ~"calc( @sidebar_container_height/2 - @sidebar_loading_icon_size/2 )"; /* Sidebar PopUp Variables */ .sidebar_popup_border() { @@ -212,6 +213,10 @@ font-size: @sidebar_loading_icon_size; color: @sidebar_loading_icon_color; } + + svg.wc_ps_searching_icon { + top: @sidebar_loading_icon_top_postition; + } } } diff --git a/wc-predictive-search.php b/wc-predictive-search.php index d52bb88..d38007f 100755 --- a/wc-predictive-search.php +++ b/wc-predictive-search.php @@ -3,7 +3,7 @@ Plugin Name: Predictive Search for WooCommerce Plugin URI: https://a3rev.com/shop/woocommerce-predictive-search/ Description: With WooCommerce Predictive Search Lite you can add an awesome Predictive Products Search widget to any widgetized area on your site. -Version: 4.2.6 +Version: 4.2.7 Author: a3rev Software Author URI: https://www.a3rev.com/ Requires at least: 4.5 @@ -40,7 +40,7 @@ define("WOO_PREDICTIVE_SEARCH_DOCS_URI", "https://docs.a3rev.com/user-guides/woocommerce/woo-predictive-search/"); define( 'WOOPS_KEY', 'woo_predictive_search' ); -define( 'WOOPS_VERSION', '4.2.6' ); +define( 'WOOPS_VERSION', '4.2.7' ); define( 'WOOPS_G_FONTS', true ); /**