diff --git a/topdesk.user.js b/topdesk.user.js index 93737c0..bec42c2 100644 --- a/topdesk.user.js +++ b/topdesk.user.js @@ -28,7 +28,7 @@ const messageBox = document.createElement('div'); messageBox.textContent = message; messageBox.style.position = 'fixed'; - messageBox.style.bottom = '20px'; + messageBox.style.top = '20px'; messageBox.style.left = '50%'; messageBox.style.transform = 'translateX(-50%)'; messageBox.style.backgroundColor = '#333'; @@ -37,7 +37,7 @@ messageBox.style.borderRadius = '5px'; messageBox.style.zIndex = '10000'; messageBox.style.opacity = '1'; - messageBox.style.transition = 'opacity 2s ease-out'; + messageBox.style.transition = 'opacity 1s ease-out'; document.body.appendChild(messageBox); setTimeout(() => {