fix: 二维码放大弹窗关闭按钮定位到右上角

This commit is contained in:
shen 2026-06-08 21:18:16 +08:00
parent bdd79e3302
commit 764fd18fd2

View File

@ -490,7 +490,10 @@ const errorCategoryLabel = (cat) => {
.btn-danger:hover { background: #ff4d4f; color: white; } .btn-danger:hover { background: #ff4d4f; color: white; }
/* 二维码放大弹窗 */ /* 二维码放大弹窗 */
.qr-preview-modal { background: white; border-radius: 12px; padding: 24px; width: 380px; text-align: center; } .qr-preview-modal { background: white; border-radius: 12px; padding: 24px; width: 380px; text-align: center; position: relative; }
.qr-preview-modal .modal-header { display: flex; justify-content: center; align-items: center; position: relative; margin-bottom: 16px; }
.qr-preview-modal .modal-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); background: none; border: none; font-size: 20px; cursor: pointer; color: #999; }
.qr-preview-modal .modal-close:hover { color: #333; }
.qr-preview-img { width: 260px; height: 260px; border: 1px solid #f0f0f0; border-radius: 8px; margin: 16px 0; } .qr-preview-img { width: 260px; height: 260px; border: 1px solid #f0f0f0; border-radius: 8px; margin: 16px 0; }
.qr-preview-info { text-align: left; padding: 12px 16px; background: #fafafa; border-radius: 8px; } .qr-preview-info { text-align: left; padding: 12px 16px; background: #fafafa; border-radius: 8px; }
.qr-preview-info p { margin: 6px 0; font-size: 13px; color: #555; } .qr-preview-info p { margin: 6px 0; font-size: 13px; color: #555; }