Skip to content

Commit

Permalink
Update 2.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
pomianowski committed Aug 19, 2020
1 parent b57e900 commit 7099eb1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions assets/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
8 changes: 5 additions & 3 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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.
= 2.4.1 =
1. Improved display on the left side and on the center
2 changes: 1 addition & 1 deletion social_messenger.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down

0 comments on commit 7099eb1

Please sign in to comment.