This commit is contained in:
tamaina 2022-01-28 06:21:37 +09:00
parent 410939a524
commit f660782a44
2 changed files with 1 additions and 1 deletions

View file

@ -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 = '';

View file

@ -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;