summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2017-03-21 18:15:21 +0900
committersyuilo <syuilotan@yahoo.co.jp>2017-03-21 18:15:21 +0900
commit3d4e3c1e8861e87900d4785df397a18c87c1b9f0 (patch)
tree9c85b4b5373f7f9444f578409d3f34b467a34955 /src
parent[Client] Implement streaming buffering (diff)
downloadmisskey-3d4e3c1e8861e87900d4785df397a18c87c1b9f0.tar.gz
misskey-3d4e3c1e8861e87900d4785df397a18c87c1b9f0.tar.bz2
misskey-3d4e3c1e8861e87900d4785df397a18c87c1b9f0.zip
[Clinet:Desktop] (Design) Fix bug
Diffstat (limited to 'src')
-rw-r--r--src/web/app/desktop/tags/ui-notification.tag14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/web/app/desktop/tags/ui-notification.tag b/src/web/app/desktop/tags/ui-notification.tag
index f96762ec10..bb440184ce 100644
--- a/src/web/app/desktop/tags/ui-notification.tag
+++ b/src/web/app/desktop/tags/ui-notification.tag
@@ -5,7 +5,7 @@
display block
position fixed
z-index 10000
- top -64px
+ top 0
left 0
right 0
margin 0 auto
@@ -14,6 +14,8 @@
background rgba(#fff, 0.9)
border-radius 0 0 8px 8px
box-shadow 0 2px 4px rgba(#000, 0.2)
+ transform translateY(-64px)
+ opacity 0
> p
margin 0
@@ -26,16 +28,18 @@
this.on('mount', () => {
anime({
- tagrets: this.root,
- top: '0px',
+ targets: this.root,
+ opacity: 1,
+ translateY: [-64, 0],
duration: 500,
easing: 'easeOutQuad'
- })
+ });
setTimeout(() => {
anime({
targets: this.root,
- top: '-64px',
+ opacity: 0,
+ translateY: -64,
duration: 500,
easing: 'easeOutQuad',
complete: () => this.unmount()