add right margin to version modal header

This commit is contained in:
Ron Rennick 2020-09-22 13:42:51 -03:00
parent 6348f0422c
commit d719451ca1
2 changed files with 5 additions and 1 deletions

View File

@ -0,0 +1,3 @@
.plugins_page_wc-beta-tester-version-picker .wc-backbone-modal-main .wc-backbone-modal-header h1 {
margin: 0 35px 0 0;
}

View File

@ -26,7 +26,8 @@ class WC_Beta_Tester_Admin_Assets {
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
// Need admin styles for the modal.
wp_enqueue_style( 'woocommerce_admin_styles' );
wp_register_style( 'wc-beta-tester-admin', WC_Beta_Tester::instance()->plugin_url() . '/assets/css/admin.css', array( 'woocommerce_admin_styles' ) );
wp_enqueue_style( 'wc-beta-tester-admin' );
wp_register_script( 'wc-beta-tester-version-info', WC_Beta_Tester::instance()->plugin_url() . '/assets/js/version-information' . $suffix . '.js', array( 'wc-backbone-modal' ), WC_BETA_TESTER_VERSION );
wp_register_script( 'wc-beta-tester-version-picker', WC_Beta_Tester::instance()->plugin_url() . '/assets/js/version-picker' . $suffix . '.js', array( 'wc-backbone-modal' ), WC_BETA_TESTER_VERSION );