Skip to content

Commit

Permalink
Reorder settings,
Browse files Browse the repository at this point in the history
Fix style for checkout
  • Loading branch information
MohamadNateqi committed Oct 24, 2024
1 parent 3a343af commit 1aa4070
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
11 changes: 11 additions & 0 deletions assets/css/settings-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -463,6 +463,10 @@ body.woocommerce_page_wpo_wcpdf_options_page {
transform: translateY(-50%) rotate(180deg);
}

#wpo-wcpdf-preview-wrapper .my_account_buttons_custom {
margin-top: 1em;
}


/* WPML */

Expand Down Expand Up @@ -1345,3 +1349,10 @@ div.upgrade-table-description a,
justify-content: center;
}
}

/* Override WordPress default form style */
@media screen and (max-width: 782px) {
input[type="radio"], input[type="checkbox"] {
margin-bottom: 0.5em;
}
}
6 changes: 3 additions & 3 deletions includes/Documents/Invoice.php
Original file line number Diff line number Diff line change
Expand Up @@ -639,20 +639,20 @@ public function get_settings_categories( string $output_format ): array {
'enabled',
'attach_to_email_ids',
'disable_for_statuses',
'number_format',
'my_account_buttons',
),
),
'document_display' => array(
'document_details' => array(
'title' => __( 'Document details', 'woocommerce-pdf-invoices-packing-slips' ),
'members' => array(
'display_email',
'display_phone',
'display_customer_notes',
'display_shipping_address',
'display_date',
'display_number',
'next_invoice_number', // this should follow 'display_number'
'number_format',
'display_date',
'due_date'
)
),
Expand Down
4 changes: 2 additions & 2 deletions includes/Documents/PackingSlip.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ public function get_settings_categories( string $output_format ): array {
'attach_to_email_ids',
),
),
'document_display' => array(
'document_details' => array(
'title' => __( 'Document details', 'woocommerce-pdf-invoices-packing-slips' ),
'members' => array(
'display_billing_address',
'display_email',
'display_phone',
'display_customer_notes',
'display_billing_address',
),
),
),
Expand Down

0 comments on commit 1aa4070

Please sign in to comment.