mirror of
https://github.com/misskey-dev/misskey
synced 2024-11-29 23:38:55 +09:00
Fix bug
This commit is contained in:
parent
cc92c3c4e1
commit
65d564490a
@ -47,6 +47,7 @@ export default Vue.extend({
|
||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||
const isHisasiburi = ago >= 3600;
|
||||
if (isHisasiburi) {
|
||||
(this.$refs.welcomeback as any).style.display = 'block';
|
||||
(this.$refs.main as any).style.overflow = 'hidden';
|
||||
|
||||
anime({
|
||||
@ -122,7 +123,7 @@ export default Vue.extend({
|
||||
user-select none
|
||||
|
||||
> p
|
||||
display block
|
||||
display none
|
||||
position absolute
|
||||
top 48px
|
||||
width 100%
|
||||
|
@ -57,6 +57,7 @@ export default Vue.extend({
|
||||
const ago = (new Date().getTime() - new Date((this as any).os.i.last_used_at).getTime()) / 1000
|
||||
const isHisasiburi = ago >= 3600;
|
||||
if (isHisasiburi) {
|
||||
(this.$refs.welcomeback as any).style.display = 'block';
|
||||
(this.$refs.main as any).style.overflow = 'hidden';
|
||||
|
||||
anime({
|
||||
@ -149,7 +150,7 @@ export default Vue.extend({
|
||||
background-color rgba(#1b2023, 0.75)
|
||||
|
||||
> p
|
||||
display block
|
||||
display none
|
||||
position absolute
|
||||
z-index 1002
|
||||
top $height
|
||||
|
Loading…
Reference in New Issue
Block a user