feat: close #1762 add hover text for chat input actions

This commit is contained in:
Yidadaa
2023-06-13 02:27:39 +08:00
parent 0d4611052e
commit 88df4a2223
4 changed files with 135 additions and 41 deletions

View File

@@ -17,10 +17,35 @@
transition: all ease 0.3s;
margin-bottom: 10px;
align-items: center;
height: 16px;
&:not(:last-child) {
margin-right: 5px;
}
.text {
white-space: nowrap;
padding-left: 5px;
opacity: 0;
transform: translateX(-5px);
transition: all ease 0.3s;
transition-delay: 0.1s;
pointer-events: none;
}
&:hover {
.text {
opacity: 1;
transform: translate(0);
}
}
.text,
.icon {
display: flex;
align-items: center;
justify-content: center;
}
}
}