From 32172582ff5883982f0aab3e566ecd23524f166c Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 28 Oct 2026 18:30:34 +0800 Subject: [PATCH] fix(admin): shrink image previews to natural size like reference theme Media and gallery previews now hug the image (inline box, capped height) instead of stretching across fixed grid cells, removing empty letterbox space. Co-Authored-By: Claude Fable 5 --- .../src/components/form/AksGalleryField.vue | 28 +++++++++++-------- .../src/components/form/AksMediaField.vue | 26 ++++++++--------- assets/css/admin/pay-meta-box.css | 18 ++++++------ assets/css/admin/post-extension.css | 14 ++++++---- 4 files changed, 47 insertions(+), 39 deletions(-) diff --git a/assets/admin/src/components/form/AksGalleryField.vue b/assets/admin/src/components/form/AksGalleryField.vue index 63272619..3827cf5e 100644 --- a/assets/admin/src/components/form/AksGalleryField.vue +++ b/assets/admin/src/components/form/AksGalleryField.vue @@ -173,12 +173,17 @@ watch(attachmentIds, hydratePreviews, { immediate: true })