diff --git a/assets/css/admin/pay-products.css b/assets/css/admin/pay-products.css index c5911e93..a2e62914 100644 --- a/assets/css/admin/pay-products.css +++ b/assets/css/admin/pay-products.css @@ -63,9 +63,9 @@ html.aksrt-products-modal-open { overflow: hidden; } .aksrt-product-inline input { flex: 1 1 auto; min-width: 0; } .aksrt-product-inline select { flex: none; width: auto; } .aksrt-product-unit { flex: none; color: var(--an-muted); } -.aksrt-product-switches { justify-content: flex-end; gap: 8px; } -.aksrt-product-check { display: inline-flex; align-items: center; gap: 6px; color: var(--an-text); } -.aksrt-product-check input { margin: 0; } +.aksrt-product-switches { display: flex; flex-direction: column; justify-content: center; gap: 8px; min-width: 0; } +.aksrt-product-check { display: inline-flex; align-items: center; gap: 8px; width: fit-content; color: var(--an-text); cursor: pointer; } +.aksrt-product-dialog .aksrt-product-check input[type="checkbox"] { flex: none; width: 16px; height: 16px; min-width: 0; min-height: 0; margin: 0; } .aksrt-product-expire { max-width: 50%; margin-top: 14px; } .aksrt-product-note { margin: 4px 0 0; font-size: 12px; } diff --git a/src/Admin/Native/PayProductsEditor.php b/src/Admin/Native/PayProductsEditor.php index 44b689f8..41fc2abf 100644 --- a/src/Admin/Native/PayProductsEditor.php +++ b/src/Admin/Native/PayProductsEditor.php @@ -96,7 +96,7 @@ trait PayProductsEditor { $this->editor_section_open(__('销售', 'aksrt')); echo '