Fix OWB sell in person vertical alignment

This commit is contained in:
Gerhard 2019-09-27 12:48:50 +02:00 committed by Vedanshu Jain
parent 97d3874e14
commit 6d09d0efcf
2 changed files with 6 additions and 2 deletions

View File

@ -1138,7 +1138,7 @@ h3.jetpack-reasons {
font-weight: 500; font-weight: 500;
margin-bottom: 0.5em; margin-bottom: 0.5em;
margin-top: 0.85em; margin-top: 0.85em;
display: block; display: inline-block;
} }
.location-input { .location-input {
@ -1188,13 +1188,15 @@ h3.jetpack-reasons {
} }
} }
.product-type-container { .product-type-container,
.sell-in-person-container {
margin-top: 14px; margin-top: 14px;
margin-bottom: 1px; margin-bottom: 1px;
} }
#woocommerce_sell_in_person { #woocommerce_sell_in_person {
margin-left: 0; margin-left: 0;
margin-top: calc(0.85em / 2);
} }
.wc-wizard-service-settings { .wc-wizard-service-settings {

View File

@ -538,6 +538,7 @@ class WC_Admin_Setup_Wizard {
</select> </select>
</div> </div>
<div class="sell-in-person-container">
<input <input
type="checkbox" type="checkbox"
id="woocommerce_sell_in_person" id="woocommerce_sell_in_person"
@ -548,6 +549,7 @@ class WC_Admin_Setup_Wizard {
<label class="location-prompt" for="woocommerce_sell_in_person"> <label class="location-prompt" for="woocommerce_sell_in_person">
<?php esc_html_e( 'I will also be selling products or services in person.', 'woocommerce' ); ?> <?php esc_html_e( 'I will also be selling products or services in person.', 'woocommerce' ); ?>
</label> </label>
</div>
<input type="checkbox" id="wc_tracker_checkbox" name="wc_tracker_checkbox" value="yes" <?php checked( 'yes', get_option( 'woocommerce_allow_tracking', 'no' ) ); ?> /> <input type="checkbox" id="wc_tracker_checkbox" name="wc_tracker_checkbox" value="yes" <?php checked( 'yes', get_option( 'woocommerce_allow_tracking', 'no' ) ); ?> />