🎨
This commit is contained in:
parent
410939a524
commit
f660782a44
2 changed files with 1 additions and 1 deletions
|
@ -92,6 +92,7 @@ export default defineComponent({
|
||||||
|
|
||||||
function onBeforeLeave(el: HTMLElement) {
|
function onBeforeLeave(el: HTMLElement) {
|
||||||
el.style.top = `${el.offsetTop}px`;
|
el.style.top = `${el.offsetTop}px`;
|
||||||
|
el.style.left = `${el.offsetLeft}px`;
|
||||||
}
|
}
|
||||||
function onLeaveCanceled(el: HTMLElement) {
|
function onLeaveCanceled(el: HTMLElement) {
|
||||||
el.style.top = '';
|
el.style.top = '';
|
||||||
|
|
|
@ -66,7 +66,6 @@ function del() {
|
||||||
position: relative;
|
position: relative;
|
||||||
background-color: transparent;
|
background-color: transparent;
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 100%;
|
|
||||||
|
|
||||||
> .avatar {
|
> .avatar {
|
||||||
position: sticky;
|
position: sticky;
|
||||||
|
|
Loading…
Reference in a new issue