diff --git a/assets/css/admin/native-ui.css b/assets/css/admin/native-ui.css index a9788f1a..cd69c9ef 100644 --- a/assets/css/admin/native-ui.css +++ b/assets/css/admin/native-ui.css @@ -365,6 +365,22 @@ a.aksrt-native-stat:focus { outline: 2px solid color-mix(in srgb, var(--an-tone) .aksrt-native .button .dashicons { width: 16px; height: 16px; margin: 0 4px 0 -2px; font-size: 16px; line-height: inherit; vertical-align: -1px; } .aksrt-native .submit { margin: 0; padding: 0; } +/* 批量操作行:下拉与「应用」按钮锁定同一高度与字号。 + WP 核心给 select 14px/line-height:2、给 .button 13px,且 782px 以下再把两者各自放大, + 只设 min-height 时两者会因字号、行高和基线对齐不同而错位,这里显式给定。 */ +.aksrt-native-bulk { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; } +.aksrt-native-bulk select, +.aksrt-native-bulk .button { + box-sizing: border-box; + height: 32px; + min-height: 32px; + margin: 0; + font-size: 13px; + line-height: 30px; + vertical-align: middle; +} +.aksrt-native-bulk select { width: auto; max-width: 12.5rem; } + /* ---------- 表格 ---------- */ .aksrt-native-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; } .aksrt-native .widefat, diff --git a/src/Admin/Native/PayChargeCardsList.php b/src/Admin/Native/PayChargeCardsList.php index 80fc0903..b0afbbb6 100644 --- a/src/Admin/Native/PayChargeCardsList.php +++ b/src/Admin/Native/PayChargeCardsList.php @@ -187,7 +187,7 @@ trait PayChargeCardsList { echo '