Bottom margin in image alignment

As proposed in #1273, `margin-botom: 1.5em;` added to all three image alignment classes.

tab line 178 inc/woocommerce.php

tab line 61 inc/custom-header.php
This commit is contained in:
Arnab Wahid 2018-06-27 13:59:10 +05:30
parent 9274f322d0
commit bf61e8ffbe
4 changed files with 10 additions and 4 deletions

View File

@ -56,9 +56,9 @@ if ( ! function_exists( '_s_header_style' ) ) :
.site-description { .site-description {
position: absolute; position: absolute;
clip: rect(1px, 1px, 1px, 1px); clip: rect(1px, 1px, 1px, 1px);
} }
<?php <?php
// If the user has set a custom color for the text use that. // If the user has set a custom color for the text use that.
else : else :
?> ?>
.site-title a, .site-title a,

View File

@ -175,7 +175,7 @@ if ( ! function_exists( '_s_woocommerce_wrapper_after' ) ) {
* @return void * @return void
*/ */
function _s_woocommerce_wrapper_after() { function _s_woocommerce_wrapper_after() {
?> ?>
</main><!-- #main --> </main><!-- #main -->
</div><!-- #primary --> </div><!-- #primary -->
<?php <?php

View File

@ -2,15 +2,18 @@
display: inline; display: inline;
float: left; float: left;
margin-right: 1.5em; margin-right: 1.5em;
margin-bottom: 1.5em;
} }
.alignright { .alignright {
display: inline; display: inline;
float: right; float: right;
margin-left: 1.5em; margin-left: 1.5em;
margin-bottom: 1.5em;
} }
.aligncenter { .aligncenter {
clear: both; clear: both;
@include center-block; @include center-block;
margin-bottom: 1.5em;
} }

View File

@ -776,12 +776,14 @@ a:hover, a:active {
display: inline; display: inline;
float: left; float: left;
margin-right: 1.5em; margin-right: 1.5em;
margin-bottom: 1.5em;
} }
.alignright { .alignright {
display: inline; display: inline;
float: right; float: right;
margin-left: 1.5em; margin-left: 1.5em;
margin-bottom: 1.5em;
} }
.aligncenter { .aligncenter {
@ -789,6 +791,7 @@ a:hover, a:active {
display: block; display: block;
margin-left: auto; margin-left: auto;
margin-right: auto; margin-right: auto;
margin-bottom: 1.5em;
} }
/*-------------------------------------------------------------- /*--------------------------------------------------------------