fix: 验证码框单独显示加载和加载失败

This commit is contained in:
2026-10-30 11:40:43 +08:00
parent 06549316f9
commit d0601d06f9
2 changed files with 56 additions and 13 deletions
+16 -2
View File
@@ -259,15 +259,29 @@ button, input, select { font: inherit; }
}
.lv-captcha { display: flex; gap: 8px; align-items: center; min-width: 0; }
.lv-captcha .n-input { flex: 1; min-width: 0; }
.lv-captcha img {
.lv-captcha-box {
width: 112px;
height: 36px;
flex: none;
display: grid;
place-items: center;
padding: 0;
border: 1px solid var(--line);
border-radius: 4px;
background: var(--bg);
cursor: pointer;
overflow: hidden;
}
.lv-captcha-box img {
width: 100%;
height: 100%;
object-fit: cover;
flex: none;
border: 0;
}
.lv-captcha-box img[src="/__captcha_broken__"] {
width: auto;
height: auto;
object-fit: none;
}
.lv-embed {
width: 100%;