fix: 钉钉桌面端通知二维码被裁剪
桌面端钉钉会把 Markdown 图片裁成横向区域,正方形二维码上下被裁掉。 二维码居中放到 3:2 白底画布上;网页中的二维码图片改用 object-fit 避免拉伸。 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
8f2f23682f
commit
6890f13aa9
@@ -513,7 +513,7 @@ const errorCategoryHint = (cat) => {
|
||||
.download-link { color: #1890ff; text-decoration: none; }
|
||||
.download-link:hover { text-decoration: underline; }
|
||||
.qr-section { text-align: center; padding: 16px; background: #fafafa; border-radius: 8px; }
|
||||
.qr-image { width: 180px; height: 180px; border: 1px solid #f0f0f0; border-radius: 8px; }
|
||||
.qr-image { width: 180px; height: 180px; object-fit: contain; border: 1px solid #f0f0f0; border-radius: 8px; }
|
||||
.qr-hint { margin-top: 8px; font-size: 13px; color: #999; }
|
||||
.error-msg { color: #ff4d4f; font-size: 13px; word-break: break-all; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user