Increase margin around images
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Aug 2019 15:42:37 +0000 (11:42 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 9 Aug 2019 15:42:37 +0000 (11:42 -0400)
Increasing the margin around left and right aligned images.

models/admin/ajax/newsletter.php
models/admin/messages/index.php

index 055c7ff..0b50e18 100644 (file)
@@ -167,10 +167,10 @@ class GlmMembersAdmin_ajax_newsletter extends GlmDataEmailMessages
             }
             switch ( $align ) {
             case 'left':
-                $image->setAttribute( 'style', 'float: left; margin: 5px;' );
+                $image->setAttribute( 'style', 'float: left; margin: 10px;' );
                 break;
             case 'right':
-                $image->setAttribute( 'style', 'float: right; margin: 5px;' );
+                $image->setAttribute( 'style', 'float: right; margin: 10px;' );
                 break;
             case 'center':
                 $image->setAttribute( 'style', 'display: block; text-align: center; margin: 0 auto;' );
index 309ca54..a23eba3 100644 (file)
@@ -712,10 +712,10 @@ class GlmMembersAdmin_messages_index extends GlmDataEmailMessages
             }
             switch ( $align ) {
             case 'left':
-                $image->setAttribute( 'style', 'float: left; margin: 5px;' );
+                $image->setAttribute( 'style', 'float: left; margin: 10px;' );
                 break;
             case 'right':
-                $image->setAttribute( 'style', 'float: right; margin: 5px;' );
+                $image->setAttribute( 'style', 'float: right; margin: 10px;' );
                 break;
             case 'center':
                 $image->setAttribute( 'style', 'display: block; text-align: center; margin: 0 auto;' );