fix: 验证码框单独显示加载和加载失败
This commit is contained in:
+16
-2
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user