鼠标悬浮Jeditor输入框时激活边框颜色

This commit is contained in:
jingrow 2026-01-24 19:36:14 +08:00
parent 7ac10122f7
commit 4e9ec53543

View File

@ -826,6 +826,10 @@ watch(() => props.disabled, (disabled) => {
transition: all 0.2s ease;
position: relative;
}
.jeditor:hover {
border: 1.5px solid #1fc76f;
box-shadow: 0 0 0 2px #1fc76f22;
}
.jeditor:focus, .jeditor:focus-within, .jeditor[contenteditable="true"]:focus {
border: 1.5px solid #1fc76f;
box-shadow: 0 0 0 2px #1fc76f22;