improvemetns
This commit is contained in:
parent
5bca3ad8ab
commit
25bbd89be2
|
@ -103,9 +103,10 @@ export const Content = ( { data } ) => {
|
|||
return (
|
||||
<div
|
||||
key={ key }
|
||||
className="woocommerce-settings-element"
|
||||
className="woocommerce-settings-element woocommerce-settings-title"
|
||||
>
|
||||
<h3>{ setting.title }</h3>
|
||||
<p>{ setting.desc }</p>
|
||||
</div>
|
||||
);
|
||||
case 'checkbox':
|
||||
|
|
|
@ -187,10 +187,6 @@
|
|||
justify-content: space-between;
|
||||
margin: 16px 0px;
|
||||
|
||||
&:first-of-type {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
margin: 0;
|
||||
min-width: 200px;
|
||||
|
@ -205,3 +201,13 @@
|
|||
max-width: 420px;
|
||||
}
|
||||
}
|
||||
|
||||
.woocommerce-settings-title {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
margin-bottom: 30px;
|
||||
|
||||
h3 {
|
||||
margin: 10px 0 0 0;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -178,6 +178,7 @@ if ( ! class_exists( 'WC_Settings_Page', false ) ) :
|
|||
}
|
||||
|
||||
// Otherwise, render the page's output method.
|
||||
$html = str_replace('THIS IS THE PARENT OUTPUT', '', $html);
|
||||
$tags = new WP_HTML_Tag_Processor( $html );
|
||||
while( $tags->next_tag( array( 'tag_name' => 'script' ) ) ) {
|
||||
$script_type = $tags->get_attribute( 'type' );
|
||||
|
|
Loading…
Reference in New Issue