diff --git a/assets/class.php b/assets/class.php index 3544a81..e437cb2 100644 --- a/assets/class.php +++ b/assets/class.php @@ -90,10 +90,10 @@ public function Head() : void switch (get_theme_mod('social_messenger_position', 'right')) { case 'left': - $html .= '.fb_dialog, .fb-customerchat * > iframe {left:18pt !important;right: auto;} .fb_dialog_content > iframe {left: 17px;}'; + $html .= '.fb_dialog, .fb-customerchat * > iframe {left:18pt !important;right: auto;} .fb_dialog_content > iframe {left: 35px;}'; break; case 'center': - $html .= '.fb_dialog, .fb-customerchat * > iframe {margin: auto;left: 0;right: 0;}'; + $html .= '.fb_dialog, .fb-customerchat iframe {margin: auto !important;left: 0 !important;right: 0 !important;} .fb_dialog_content {display:flex;justify-content:center;align-items:center;} .fb_dialog_content > iframe {margin: auto !important;left: auto;right: auto !important;}'; break; } diff --git a/readme.txt b/readme.txt index 469d471..f54e2e0 100644 --- a/readme.txt +++ b/readme.txt @@ -98,6 +98,9 @@ You must add your site to trusted in the settings of your fanpage. == Changelog == += 2.4.1 = +1. Improved display on the left side and on the center + = 2.4.0 = 1. Preconnect and DNS-Prefetch meta functions have been added. @@ -236,6 +239,5 @@ You must add your site to trusted in the settings of your fanpage. == Upgrade notice == -= 2.3.2 = - -A lot of changes. Some options after installation will stop working properly. Check the plugin settings. \ No newline at end of file += 2.4.1 = +1. Improved display on the left side and on the center \ No newline at end of file diff --git a/social_messenger.php b/social_messenger.php index a183f5f..4d9e906 100644 --- a/social_messenger.php +++ b/social_messenger.php @@ -7,7 +7,7 @@ Author URI: https://rdev.cc/ License: MIT License URI: https://opensource.org/licenses/MIT -Version: 2.4.0 +Version: 2.4.1 Text Domain: social_messenger Domain Path: /languages */